@t-rex-network/t-rex 4.2.0-beta1
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/LICENSE.md +674 -0
- package/README.md +137 -0
- package/contracts/ERC-3643/ERC3643EventsLib.sol +150 -0
- package/contracts/ERC-3643/IERC3643.sol +408 -0
- package/contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol +66 -0
- package/contracts/ERC-3643/IERC3643Compliance.sol +127 -0
- package/contracts/ERC-3643/IERC3643IdentityRegistry.sol +180 -0
- package/contracts/ERC-3643/IERC3643IdentityRegistryStorage.sol +120 -0
- package/contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol +120 -0
- package/contracts/compliance/modular/IModularCompliance.sol +143 -0
- package/contracts/compliance/modular/ModularCompliance.sol +381 -0
- package/contracts/compliance/modular/modules/AbstractModuleUpgradeable.sol +193 -0
- package/contracts/compliance/modular/modules/IModule.sol +158 -0
- package/contracts/compliance/modular/modules/ModuleProxy.sol +72 -0
- package/contracts/factory/ITREXFactory.sol +180 -0
- package/contracts/factory/ITREXGateway.sol +234 -0
- package/contracts/factory/TREXFactory.sol +358 -0
- package/contracts/factory/TREXGateway.sol +274 -0
- package/contracts/libraries/ErrorsLib.sol +168 -0
- package/contracts/libraries/EventsLib.sol +147 -0
- package/contracts/proxy/AbstractProxy.sol +146 -0
- package/contracts/proxy/ClaimTopicsRegistryProxy.sol +83 -0
- package/contracts/proxy/IdentityRegistryProxy.sol +95 -0
- package/contracts/proxy/IdentityRegistryStorageProxy.sol +83 -0
- package/contracts/proxy/ModularComplianceProxy.sol +88 -0
- package/contracts/proxy/TokenProxy.sol +97 -0
- package/contracts/proxy/TrustedIssuersRegistryProxy.sol +88 -0
- package/contracts/proxy/authority/IAFactory.sol +122 -0
- package/contracts/proxy/authority/IIAFactory.sol +87 -0
- package/contracts/proxy/authority/ITREXImplementationAuthority.sol +239 -0
- package/contracts/proxy/authority/TREXImplementationAuthority.sol +350 -0
- package/contracts/proxy/interface/IProxy.sol +72 -0
- package/contracts/registry/implementation/ClaimTopicsRegistry.sol +152 -0
- package/contracts/registry/implementation/IdentityRegistry.sol +352 -0
- package/contracts/registry/implementation/IdentityRegistryStorage.sol +227 -0
- package/contracts/registry/implementation/TrustedIssuersRegistry.sol +272 -0
- package/contracts/registry/interface/IClaimTopicsRegistry.sol +70 -0
- package/contracts/registry/interface/IIdentityRegistry.sol +102 -0
- package/contracts/registry/interface/IIdentityRegistryStorage.sol +70 -0
- package/contracts/registry/interface/ITrustedIssuersRegistry.sol +70 -0
- package/contracts/roles/AbstractAgentRole.sol +122 -0
- package/contracts/roles/AgentRole.sol +82 -0
- package/contracts/roles/AgentRoleUpgradeable.sol +82 -0
- package/contracts/roles/IERC173.sol +21 -0
- package/contracts/roles/Roles.sol +102 -0
- package/contracts/token/IToken.sol +97 -0
- package/contracts/token/Token.sol +664 -0
- package/contracts/token/TokenStructs.sol +74 -0
- package/contracts/utils/IUtilityChecker.sol +135 -0
- package/contracts/utils/InterfaceIdCalculator.sol +223 -0
- package/contracts/utils/UtilityChecker.sol +210 -0
- package/contracts/utils/UtilityCheckerProxy.sol +72 -0
- package/contracts/vendor/openzeppelin/Create3.sol +143 -0
- package/out/AbstractAgentRole.sol/AbstractAgentRole.json +1 -0
- package/out/AbstractModuleUpgradeable.sol/AbstractModuleUpgradeable.json +1 -0
- package/out/AbstractProxy.sol/AbstractProxy.json +1 -0
- package/out/Address.sol/Address.json +1 -0
- package/out/AgentRole.sol/AgentRole.json +1 -0
- package/out/AgentRoleUpgradeable.sol/AgentRoleUpgradeable.json +1 -0
- package/out/Arrays.sol/Arrays.json +1 -0
- package/out/Base.sol/CommonBase.json +1 -0
- package/out/Base.sol/ScriptBase.json +1 -0
- package/out/Base.sol/TestBase.json +1 -0
- package/out/Bytes.sol/Bytes.json +1 -0
- package/out/ClaimIssuer.sol/ClaimIssuer.json +1 -0
- package/out/ClaimIssuerTrick.sol/ClaimIssuerTrick.json +1 -0
- package/out/ClaimTopicsRegistry.sol/ClaimTopicsRegistry.json +1 -0
- package/out/ClaimTopicsRegistryProxy.sol/ClaimTopicsRegistryProxy.json +1 -0
- package/out/Comparators.sol/Comparators.json +1 -0
- package/out/Context.sol/Context.json +1 -0
- package/out/ContextUpgradeable.sol/ContextUpgradeable.json +1 -0
- package/out/Countries.sol/Countries.json +1 -0
- package/out/Create2.sol/Create2.json +1 -0
- package/out/Create3.sol/Create3.json +1 -0
- package/out/ECDSA.sol/ECDSA.json +1 -0
- package/out/EIP712.sol/EIP712.json +1 -0
- package/out/EIP712Upgradeable.sol/EIP712Upgradeable.json +1 -0
- package/out/ERC1967Proxy.sol/ERC1967Proxy.json +1 -0
- package/out/ERC1967Utils.sol/ERC1967Utils.json +1 -0
- package/out/ERC20.sol/ERC20.json +1 -0
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -0
- package/out/ERC20PermitUpgradeable.sol/ERC20PermitUpgradeable.json +1 -0
- package/out/ERC20Upgradeable.sol/ERC20Upgradeable.json +1 -0
- package/out/ERC2771Context.sol/ERC2771Context.json +1 -0
- package/out/ERC2771ContextUpgradeable.sol/ERC2771ContextUpgradeable.json +1 -0
- package/out/ERC2771Forwarder.sol/ERC2771Forwarder.json +1 -0
- package/out/ERC3643EventsLib.sol/ERC3643EventsLib.json +1 -0
- package/out/EnumerableSet.sol/EnumerableSet.json +1 -0
- package/out/Errors.sol/Errors.json +1 -0
- package/out/ErrorsLib.sol/ErrorsLib.json +1 -0
- package/out/EventsLib.sol/EventsLib.json +1 -0
- package/out/IAFactory.sol/IAFactory.json +1 -0
- package/out/IBeacon.sol/IBeacon.json +1 -0
- package/out/IClaimIssuer.sol/IClaimIssuer.json +1 -0
- package/out/IClaimTopicsRegistry.sol/IClaimTopicsRegistry.json +1 -0
- package/out/IERC1363.sol/IERC1363.json +1 -0
- package/out/IERC165.sol/IERC165.json +1 -0
- package/out/IERC173.sol/IERC173.json +1 -0
- package/out/IERC1967.sol/IERC1967.json +1 -0
- package/out/IERC20.sol/IERC20.json +1 -0
- package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -0
- package/out/IERC20Permit.sol/IERC20Permit.json +1 -0
- package/out/IERC3643.sol/IERC3643.json +1 -0
- package/out/IERC3643ClaimTopicsRegistry.sol/IERC3643ClaimTopicsRegistry.json +1 -0
- package/out/IERC3643Compliance.sol/IERC3643Compliance.json +1 -0
- package/out/IERC3643IdentityRegistry.sol/IERC3643IdentityRegistry.json +1 -0
- package/out/IERC3643IdentityRegistryStorage.sol/IERC3643IdentityRegistryStorage.json +1 -0
- package/out/IERC3643TrustedIssuersRegistry.sol/IERC3643TrustedIssuersRegistry.json +1 -0
- package/out/IERC5267.sol/IERC5267.json +1 -0
- package/out/IERC734.sol/IERC734.json +1 -0
- package/out/IERC735.sol/IERC735.json +1 -0
- package/out/IIAFactory.sol/IIAFactory.json +1 -0
- package/out/IIdFactory.sol/IIdFactory.json +1 -0
- package/out/IIdentity.sol/IIdentity.json +1 -0
- package/out/IIdentityRegistry.sol/IIdentityRegistry.json +1 -0
- package/out/IIdentityRegistryStorage.sol/IIdentityRegistryStorage.json +1 -0
- package/out/IImplementationAuthority.sol/IImplementationAuthority.json +1 -0
- package/out/IModularCompliance.sol/IModularCompliance.json +1 -0
- package/out/IModule.sol/IModule.json +1 -0
- package/out/IMulticall3.sol/IMulticall3.json +1 -0
- package/out/IProxy.sol/IProxy.json +1 -0
- package/out/ITREXFactory.sol/ITREXFactory.json +1 -0
- package/out/ITREXGateway.sol/ITREXGateway.json +1 -0
- package/out/ITREXImplementationAuthority.sol/ITREXImplementationAuthority.json +1 -0
- package/out/IToken.sol/IToken.json +1 -0
- package/out/ITrustedIssuersRegistry.sol/ITrustedIssuersRegistry.json +1 -0
- package/out/IUtilityChecker.sol/IUtilityChecker.json +1 -0
- package/out/IdFactory.sol/IdFactory.json +1 -0
- package/out/Identity.sol/Identity.json +1 -0
- package/out/IdentityProxy.sol/IdentityProxy.json +1 -0
- package/out/IdentityRegistry.sol/IdentityRegistry.json +1 -0
- package/out/IdentityRegistryProxy.sol/IdentityRegistryProxy.json +1 -0
- package/out/IdentityRegistryStorage.sol/IdentityRegistryStorage.json +1 -0
- package/out/IdentityRegistryStorageProxy.sol/IdentityRegistryStorageProxy.json +1 -0
- package/out/ImplementationAuthority.sol/ImplementationAuthority.json +1 -0
- package/out/Initializable.sol/Initializable.json +1 -0
- package/out/InterfaceIdCalculator.sol/InterfaceIdCalculator.json +1 -0
- package/out/KeyPurposes.sol/KeyPurposes.json +1 -0
- package/out/KeyTypes.sol/KeyTypes.json +1 -0
- package/out/LowLevelCall.sol/LowLevelCall.json +1 -0
- package/out/Math.sol/Math.json +1 -0
- package/out/MessageHashUtils.sol/MessageHashUtils.json +1 -0
- package/out/ModularCompliance.sol/ModularCompliance.json +1 -0
- package/out/ModularComplianceProxy.sol/ModularComplianceProxy.json +1 -0
- package/out/ModuleNotPnP.sol/ModuleNotPnP.json +1 -0
- package/out/ModuleProxy.sol/ModuleProxy.json +1 -0
- package/out/MulticallUpgradeable.sol/MulticallUpgradeable.json +1 -0
- package/out/Nonces.sol/Nonces.json +1 -0
- package/out/NoncesUpgradeable.sol/NoncesUpgradeable.json +1 -0
- package/out/Ownable.sol/Ownable.json +1 -0
- package/out/Ownable2Step.sol/Ownable2Step.json +1 -0
- package/out/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +1 -0
- package/out/OwnableUpgradeable.sol/OwnableUpgradeable.json +1 -0
- package/out/Panic.sol/Panic.json +1 -0
- package/out/Pausable.sol/Pausable.json +1 -0
- package/out/PausableUpgradeable.sol/PausableUpgradeable.json +1 -0
- package/out/Proxy.sol/Proxy.json +1 -0
- package/out/Roles.sol/Roles.json +1 -0
- package/out/SafeCast.sol/SafeCast.json +1 -0
- package/out/SafeERC20.sol/SafeERC20.json +1 -0
- package/out/ShortStrings.sol/ShortStrings.json +1 -0
- package/out/SignedMath.sol/SignedMath.json +1 -0
- package/out/SlotDerivation.sol/SlotDerivation.json +1 -0
- package/out/StdAssertions.sol/StdAssertions.json +1 -0
- package/out/StdChains.sol/StdChains.json +1 -0
- package/out/StdCheats.sol/StdCheats.json +1 -0
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
- package/out/StdConstants.sol/StdConstants.json +1 -0
- package/out/StdError.sol/stdError.json +1 -0
- package/out/StdInvariant.sol/StdInvariant.json +1 -0
- package/out/StdJson.sol/stdJson.json +1 -0
- package/out/StdMath.sol/stdMath.json +1 -0
- package/out/StdStorage.sol/stdStorage.json +1 -0
- package/out/StdStorage.sol/stdStorageSafe.json +1 -0
- package/out/StdStyle.sol/StdStyle.json +1 -0
- package/out/StdToml.sol/stdToml.json +1 -0
- package/out/StdUtils.sol/StdUtils.json +1 -0
- package/out/Storage.sol/Storage.json +1 -0
- package/out/StorageSlot.sol/StorageSlot.json +1 -0
- package/out/Strings.sol/Strings.json +1 -0
- package/out/Structs.sol/Structs.json +1 -0
- package/out/TREXFactory.sol/TREXFactory.json +1 -0
- package/out/TREXGateway.sol/TREXGateway.json +1 -0
- package/out/TREXImplementationAuthority.sol/TREXImplementationAuthority.json +1 -0
- package/out/TestAgentRole.sol/TestAgentRole.json +1 -0
- package/out/TestAgentRoleUpgradeable.sol/TestAgentRoleUpgradeable.json +1 -0
- package/out/TestERC20.sol/TestERC20.json +1 -0
- package/out/TestModule.sol/TestModule.json +1 -0
- package/out/TestTREXFactory.sol/TestTREXFactory.json +1 -0
- package/out/Token.sol/Token.json +1 -0
- package/out/TokenProxy.sol/TokenProxy.json +1 -0
- package/out/TrustedIssuersRegistry.sol/TrustedIssuersRegistry.json +1 -0
- package/out/TrustedIssuersRegistryProxy.sol/TrustedIssuersRegistryProxy.json +1 -0
- package/out/UUPSUpgradeable.sol/UUPSUpgradeable.json +1 -0
- package/out/UtilityChecker.sol/UtilityChecker.json +1 -0
- package/out/UtilityCheckerProxy.sol/UtilityCheckerProxy.json +1 -0
- package/out/Utils.sol/Utils.json +1 -0
- package/out/Version.sol/Version.json +1 -0
- package/out/Vm.sol/Vm.json +1 -0
- package/out/Vm.sol/VmSafe.json +1 -0
- package/out/console.sol/console.json +1 -0
- package/out/draft-IERC1822.sol/IERC1822Proxiable.json +1 -0
- package/out/draft-IERC6093.sol/IERC1155Errors.json +1 -0
- package/out/draft-IERC6093.sol/IERC20Errors.json +1 -0
- package/out/draft-IERC6093.sol/IERC721Errors.json +1 -0
- package/out/libraries/Errors.sol/Errors.json +1 -0
- package/out/safeconsole.sol/safeconsole.json +1 -0
- package/package.json +47 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"addDeployer","inputs":[{"name":"deployer","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"applyFeeDiscount","inputs":[{"name":"deployer","type":"address","internalType":"address"},{"name":"discount","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"calculateFee","inputs":[{"name":"deployer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"deployTREXSuite","inputs":[{"name":"_tokenDetails","type":"tuple","internalType":"struct ITREXFactory.TokenDetails","components":[{"name":"owner","type":"address","internalType":"address"},{"name":"name","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"decimals","type":"uint8","internalType":"uint8"},{"name":"irs","type":"address","internalType":"address"},{"name":"ONCHAINID","type":"address","internalType":"address"},{"name":"irAgents","type":"address[]","internalType":"address[]"},{"name":"tokenAgents","type":"address[]","internalType":"address[]"},{"name":"complianceModules","type":"address[]","internalType":"address[]"},{"name":"complianceSettings","type":"bytes[]","internalType":"bytes[]"}]},{"name":"_claimDetails","type":"tuple","internalType":"struct ITREXFactory.ClaimDetails","components":[{"name":"claimTopics","type":"uint256[]","internalType":"uint256[]"},{"name":"issuers","type":"address[]","internalType":"address[]"},{"name":"issuerClaims","type":"uint256[][]","internalType":"uint256[][]"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"enableDeploymentFee","inputs":[{"name":"_isEnabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getDeploymentFee","inputs":[],"outputs":[{"name":"","type":"tuple","internalType":"struct ITREXGateway.Fee","components":[{"name":"fee","type":"uint256","internalType":"uint256"},{"name":"feeToken","type":"address","internalType":"address"},{"name":"feeCollector","type":"address","internalType":"address"}]}],"stateMutability":"view"},{"type":"function","name":"getFactory","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getPublicDeploymentStatus","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isDeployer","inputs":[{"name":"deployer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isDeploymentFeeEnabled","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"removeDeployer","inputs":[{"name":"deployer","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDeploymentFee","inputs":[{"name":"_fee","type":"uint256","internalType":"uint256"},{"name":"_feeToken","type":"address","internalType":"address"},{"name":"_feeCollector","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setFactory","inputs":[{"name":"factory","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setPublicDeploymentStatus","inputs":[{"name":"_isEnabled","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferFactoryOwnership","inputs":[{"name":"_newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"addDeployer(address)":"880f4039","applyFeeDiscount(address,uint16)":"75e14cff","calculateFee(address)":"465f5eb8","deployTREXSuite((address,string,string,uint8,address,address,address[],address[],address[],bytes[]),(uint256[],address[],uint256[][]))":"c8eebfcc","enableDeploymentFee(bool)":"a264f2bd","getDeploymentFee()":"46c549cc","getFactory()":"88cc58e4","getPublicDeploymentStatus()":"bfc2f10b","isDeployer(address)":"50c358a4","isDeploymentFeeEnabled()":"47706851","removeDeployer(address)":"f315df86","setDeploymentFee(uint256,address,address)":"5d46c283","setFactory(address)":"5bb47808","setPublicDeploymentStatus(bool)":"eca465c4","transferFactoryOwnership(address)":"9c5c5ce7"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"}],\"name\":\"addDeployer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"discount\",\"type\":\"uint16\"}],\"name\":\"applyFeeDiscount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"}],\"name\":\"calculateFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"irs\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ONCHAINID\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"irAgents\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"tokenAgents\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"complianceModules\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"complianceSettings\",\"type\":\"bytes[]\"}],\"internalType\":\"struct ITREXFactory.TokenDetails\",\"name\":\"_tokenDetails\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"claimTopics\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"issuers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[][]\",\"name\":\"issuerClaims\",\"type\":\"uint256[][]\"}],\"internalType\":\"struct ITREXFactory.ClaimDetails\",\"name\":\"_claimDetails\",\"type\":\"tuple\"}],\"name\":\"deployTREXSuite\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_isEnabled\",\"type\":\"bool\"}],\"name\":\"enableDeploymentFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeploymentFee\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"feeToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"internalType\":\"struct ITREXGateway.Fee\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPublicDeploymentStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"}],\"name\":\"isDeployer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isDeploymentFeeEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"}],\"name\":\"removeDeployer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feeCollector\",\"type\":\"address\"}],\"name\":\"setDeploymentFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"setFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_isEnabled\",\"type\":\"bool\"}],\"name\":\"setPublicDeploymentStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferFactoryOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"addDeployer(address)\":{\"details\":\"Only an admin (owner or agent) can call this method. If the provided `deployer` address is already an approved deployer, the function will revert. Emits a `DeployerAdded` event upon successful addition.\",\"params\":{\"deployer\":\"Address to be added to the list of approved deployers. emits DeployerAdded Indicates that a new deployer address has been successfully added.\"}},\"applyFeeDiscount(address,uint16)\":{\"details\":\"Only an admin (owner or agent) can call this method. The fee discount is expressed per 10,000 (10000 = 100%, 1000 = 10%, etc.). If the discount exceeds 10000, the function will revert. Emits a `FeeDiscountApplied` event upon successful application.\",\"params\":{\"deployer\":\"Address of the deployer to which the discount will be applied.\",\"discount\":\"The discount rate, expressed per 10,000. emits FeeDiscountApplied Indicates that a fee discount has been successfully applied to a deployer.\"}},\"calculateFee(address)\":{\"details\":\"The fee discount, if any, is expressed per 10,000 (e.g., 10000 = 100%, 1000 = 10%, etc.). The final fee is derived by subtracting the discount amount from the original fee.\",\"params\":{\"deployer\":\"Address of the deployer for which the fee will be calculated.\"},\"returns\":{\"_0\":\"The calculated fee after accounting for potential discounts.\"}},\"deployTREXSuite((address,string,string,uint8,address,address,address[],address[],address[],bytes[]),(uint256[],address[],uint256[][]))\":{\"details\":\"This function performs multiple checks before deploying: 1. If public deployments are disabled, only approved deployers can execute this function. 2. If public deployments are enabled, an external entity can deploy only on its behalf and not for other addresses unless it's an approved deployer. If deployment fees are enabled and applicable (after considering any discounts for the deployer), the fee is collected from the deployer's address. The actual TREX suite deployment is then triggered via the factory contract, and a unique salt is derived from the token owner's address and the token name for the deployment.\",\"params\":{\"_claimDetails\":\"Struct containing details related to claims for the token. emits GatewaySuiteDeploymentProcessed This event is emitted post-deployment, indicating the deployer, the token owner, and the fee applied.\",\"_tokenDetails\":\"Struct containing details necessary for token deployment such as name, symbol, etc.\"}},\"enableDeploymentFee(bool)\":{\"details\":\"Enables or disables the deployment fees. If the function call doesn't change the current status, it will revert. Only the owner can call this method. Emits a `DeploymentFeeEnabled` event upon successful execution. Reverts with `DeploymentFeesAlreadyEnabled` if trying to enable when already enabled. Reverts with `DeploymentFeesAlreadyDisabled` if trying to disable when already disabled.\",\"params\":{\"_isEnabled\":\"Determines if deployment fees are enabled (`true`) or disabled (`false`). emits DeploymentFeeEnabled When the new deployment fee status is set.\"}},\"getDeploymentFee()\":{\"details\":\"This function provides details about the deployment fee, including the amount, token type, and the collector address.\",\"returns\":{\"_0\":\"Fee struct containing: - `fee`: The amount to be paid as the deployment fee. - `feeToken`: Address of the token used for the deployment fee. - `feeCollector`: Address that collects the deployment fees.\"}},\"getFactory()\":{\"details\":\"The Factory contract is responsible for deploying TREX contracts. This function allows querying its address.\",\"returns\":{\"_0\":\"Address of the current Factory contract.\"}},\"getPublicDeploymentStatus()\":{\"details\":\"Indicates whether public deployments of TREX contracts are currently allowed.\",\"returns\":{\"_0\":\"A boolean value representing the public deployment status: `true` if public deployments are allowed, `false` otherwise.\"}},\"isDeployer(address)\":{\"details\":\"Determines if a specific address has permissions to deploy TREX contracts.\",\"params\":{\"deployer\":\"Address to be checked for deployer permissions.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the provided address is an approved deployer (`true`) or not (`false`).\"}},\"isDeploymentFeeEnabled()\":{\"details\":\"Provides a way to determine if deployers are currently required to pay a fee when deploying TREX contracts.\",\"returns\":{\"_0\":\"A boolean value indicating whether the deployment fee is enabled (`true`) or disabled (`false`).\"}},\"removeDeployer(address)\":{\"details\":\"Only an admin (owner or agent) can call this method. If the provided `deployer` address is not an approved deployer, the function will revert. Emits a `DeployerRemoved` event upon successful removal.\",\"params\":{\"deployer\":\"Address to be removed from the list of approved deployers. emits DeployerRemoved Indicates that a deployer address has been successfully removed.\"}},\"setDeploymentFee(uint256,address,address)\":{\"details\":\"Only the owner can call this method. The function establishes the amount, token type, and collector address for the deployment fee. Reverts if either the provided `_feeToken` or `_feeCollector` address is zero. Emits a `DeploymentFeeSet` event upon successful execution.\",\"params\":{\"_fee\":\"The amount to be set as the deployment fee.\",\"_feeCollector\":\"Address that will collect the deployment fees. emits DeploymentFeeSet Indicates that the deployment fee details have been successfully set.\",\"_feeToken\":\"Address of the token used for the deployment fee.\"}},\"setFactory(address)\":{\"details\":\"Only the owner can call this method. Emits a `FactorySet` event upon successful execution. Reverts if the provided factory address is zero.\",\"params\":{\"factory\":\"The address of the new factory contract. emits FactorySet When the new factory address is set.\"}},\"setPublicDeploymentStatus(bool)\":{\"details\":\"Enables or disables public deployments. If the function call doesn't change the current status, it will revert. Only the owner can call this method. Emits a `PublicDeploymentStatusSet` event upon successful execution. Reverts with `PublicDeploymentAlreadyEnabled` if trying to enable when already enabled. Reverts with `PublicDeploymentAlreadyDisabled` if trying to disable when already disabled.\",\"params\":{\"_isEnabled\":\"Determines if public deployments are enabled (`true`) or disabled (`false`). emits PublicDeploymentStatusSet When the new public deployment status is set.\"}},\"transferFactoryOwnership(address)\":{\"details\":\"Only the owner can call this method. Utilizes the `transferOwnership` function of the Ownable pattern.\",\"params\":{\"_newOwner\":\"Address of the new owner for the Factory contract.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"addDeployer(address)\":{\"notice\":\"Adds an address to the list of approved deployers.\"},\"applyFeeDiscount(address,uint16)\":{\"notice\":\"Applies a fee discount to a specific deployer's address.\"},\"calculateFee(address)\":{\"notice\":\"Calculates the deployment fee for a given deployer after accounting for any discounts.\"},\"deployTREXSuite((address,string,string,uint8,address,address,address[],address[],address[],bytes[]),(uint256[],address[],uint256[][]))\":{\"notice\":\"Deploys a TREX suite of contracts using provided token and claim details.\"},\"enableDeploymentFee(bool)\":{\"notice\":\"Toggles the deployment fee status for TREX contracts.\"},\"getDeploymentFee()\":{\"notice\":\"Retrieves the current deployment fee details.\"},\"getFactory()\":{\"notice\":\"Retrieves the address of the current Factory contract.\"},\"getPublicDeploymentStatus()\":{\"notice\":\"Retrieves the current public deployment status.\"},\"isDeployer(address)\":{\"notice\":\"Checks if the provided address is an approved deployer.\"},\"isDeploymentFeeEnabled()\":{\"notice\":\"Checks if the deployment fee is currently enabled.\"},\"removeDeployer(address)\":{\"notice\":\"Removes an address from the list of approved deployers.\"},\"setDeploymentFee(uint256,address,address)\":{\"notice\":\"Sets the deployment fee details for TREX contracts.\"},\"setFactory(address)\":{\"notice\":\"Sets the factory contract address used for deploying TREX smart contracts.\"},\"setPublicDeploymentStatus(bool)\":{\"notice\":\"Sets the status for public deployments of TREX contracts.\"},\"transferFactoryOwnership(address)\":{\"notice\":\"Transfers the ownership of the Factory contract.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/factory/ITREXGateway.sol\":\"ITREXGateway\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@forge-std/=dependencies/forge-std-1.12.0/src/\",\":@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/\",\":@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/\",\":@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/\",\":forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/\",\":onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/\"]},\"sources\":{\"contracts/factory/ITREXFactory.sol\":{\"keccak256\":\"0x7225bdfc2b6538da9a418d0c8384a818390d74095032a485f990caa28ca2ff5e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://a6b3b4115523c6407c2f51a3f8e349dc82291bb4f6d19d10defbc3fe814e6406\",\"dweb:/ipfs/QmPd14S1hehj3Z9CvWUrRQVfVDXUN8a7icwpqsexhf7u9d\"]},\"contracts/factory/ITREXGateway.sol\":{\"keccak256\":\"0xa5b62992b588a5f5ef924637a775b1e98664025726156e1371b24a08c353d518\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://0e94d09547985490007ecc81a9a4e5b46c44daeb69ac9c01ec27f7980ccf5030\",\"dweb:/ipfs/QmZt46gL4VHYaLg7sEELXdbstzzPCoQcSFryBFWtkUaUBQ\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"deployer","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"addDeployer"},{"inputs":[{"internalType":"address","name":"deployer","type":"address"},{"internalType":"uint16","name":"discount","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"applyFeeDiscount"},{"inputs":[{"internalType":"address","name":"deployer","type":"address"}],"stateMutability":"view","type":"function","name":"calculateFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"struct ITREXFactory.TokenDetails","name":"_tokenDetails","type":"tuple","components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"address","name":"irs","type":"address"},{"internalType":"address","name":"ONCHAINID","type":"address"},{"internalType":"address[]","name":"irAgents","type":"address[]"},{"internalType":"address[]","name":"tokenAgents","type":"address[]"},{"internalType":"address[]","name":"complianceModules","type":"address[]"},{"internalType":"bytes[]","name":"complianceSettings","type":"bytes[]"}]},{"internalType":"struct ITREXFactory.ClaimDetails","name":"_claimDetails","type":"tuple","components":[{"internalType":"uint256[]","name":"claimTopics","type":"uint256[]"},{"internalType":"address[]","name":"issuers","type":"address[]"},{"internalType":"uint256[][]","name":"issuerClaims","type":"uint256[][]"}]}],"stateMutability":"nonpayable","type":"function","name":"deployTREXSuite"},{"inputs":[{"internalType":"bool","name":"_isEnabled","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"enableDeploymentFee"},{"inputs":[],"stateMutability":"view","type":"function","name":"getDeploymentFee","outputs":[{"internalType":"struct ITREXGateway.Fee","name":"","type":"tuple","components":[{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"address","name":"feeToken","type":"address"},{"internalType":"address","name":"feeCollector","type":"address"}]}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getFactory","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getPublicDeploymentStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"deployer","type":"address"}],"stateMutability":"view","type":"function","name":"isDeployer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"isDeploymentFeeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"deployer","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"removeDeployer"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"address","name":"_feeToken","type":"address"},{"internalType":"address","name":"_feeCollector","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setDeploymentFee"},{"inputs":[{"internalType":"address","name":"factory","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setFactory"},{"inputs":[{"internalType":"bool","name":"_isEnabled","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"setPublicDeploymentStatus"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferFactoryOwnership"}],"devdoc":{"kind":"dev","methods":{"addDeployer(address)":{"details":"Only an admin (owner or agent) can call this method. If the provided `deployer` address is already an approved deployer, the function will revert. Emits a `DeployerAdded` event upon successful addition.","params":{"deployer":"Address to be added to the list of approved deployers. emits DeployerAdded Indicates that a new deployer address has been successfully added."}},"applyFeeDiscount(address,uint16)":{"details":"Only an admin (owner or agent) can call this method. The fee discount is expressed per 10,000 (10000 = 100%, 1000 = 10%, etc.). If the discount exceeds 10000, the function will revert. Emits a `FeeDiscountApplied` event upon successful application.","params":{"deployer":"Address of the deployer to which the discount will be applied.","discount":"The discount rate, expressed per 10,000. emits FeeDiscountApplied Indicates that a fee discount has been successfully applied to a deployer."}},"calculateFee(address)":{"details":"The fee discount, if any, is expressed per 10,000 (e.g., 10000 = 100%, 1000 = 10%, etc.). The final fee is derived by subtracting the discount amount from the original fee.","params":{"deployer":"Address of the deployer for which the fee will be calculated."},"returns":{"_0":"The calculated fee after accounting for potential discounts."}},"deployTREXSuite((address,string,string,uint8,address,address,address[],address[],address[],bytes[]),(uint256[],address[],uint256[][]))":{"details":"This function performs multiple checks before deploying: 1. If public deployments are disabled, only approved deployers can execute this function. 2. If public deployments are enabled, an external entity can deploy only on its behalf and not for other addresses unless it's an approved deployer. If deployment fees are enabled and applicable (after considering any discounts for the deployer), the fee is collected from the deployer's address. The actual TREX suite deployment is then triggered via the factory contract, and a unique salt is derived from the token owner's address and the token name for the deployment.","params":{"_claimDetails":"Struct containing details related to claims for the token. emits GatewaySuiteDeploymentProcessed This event is emitted post-deployment, indicating the deployer, the token owner, and the fee applied.","_tokenDetails":"Struct containing details necessary for token deployment such as name, symbol, etc."}},"enableDeploymentFee(bool)":{"details":"Enables or disables the deployment fees. If the function call doesn't change the current status, it will revert. Only the owner can call this method. Emits a `DeploymentFeeEnabled` event upon successful execution. Reverts with `DeploymentFeesAlreadyEnabled` if trying to enable when already enabled. Reverts with `DeploymentFeesAlreadyDisabled` if trying to disable when already disabled.","params":{"_isEnabled":"Determines if deployment fees are enabled (`true`) or disabled (`false`). emits DeploymentFeeEnabled When the new deployment fee status is set."}},"getDeploymentFee()":{"details":"This function provides details about the deployment fee, including the amount, token type, and the collector address.","returns":{"_0":"Fee struct containing: - `fee`: The amount to be paid as the deployment fee. - `feeToken`: Address of the token used for the deployment fee. - `feeCollector`: Address that collects the deployment fees."}},"getFactory()":{"details":"The Factory contract is responsible for deploying TREX contracts. This function allows querying its address.","returns":{"_0":"Address of the current Factory contract."}},"getPublicDeploymentStatus()":{"details":"Indicates whether public deployments of TREX contracts are currently allowed.","returns":{"_0":"A boolean value representing the public deployment status: `true` if public deployments are allowed, `false` otherwise."}},"isDeployer(address)":{"details":"Determines if a specific address has permissions to deploy TREX contracts.","params":{"deployer":"Address to be checked for deployer permissions."},"returns":{"_0":"A boolean value indicating whether the provided address is an approved deployer (`true`) or not (`false`)."}},"isDeploymentFeeEnabled()":{"details":"Provides a way to determine if deployers are currently required to pay a fee when deploying TREX contracts.","returns":{"_0":"A boolean value indicating whether the deployment fee is enabled (`true`) or disabled (`false`)."}},"removeDeployer(address)":{"details":"Only an admin (owner or agent) can call this method. If the provided `deployer` address is not an approved deployer, the function will revert. Emits a `DeployerRemoved` event upon successful removal.","params":{"deployer":"Address to be removed from the list of approved deployers. emits DeployerRemoved Indicates that a deployer address has been successfully removed."}},"setDeploymentFee(uint256,address,address)":{"details":"Only the owner can call this method. The function establishes the amount, token type, and collector address for the deployment fee. Reverts if either the provided `_feeToken` or `_feeCollector` address is zero. Emits a `DeploymentFeeSet` event upon successful execution.","params":{"_fee":"The amount to be set as the deployment fee.","_feeCollector":"Address that will collect the deployment fees. emits DeploymentFeeSet Indicates that the deployment fee details have been successfully set.","_feeToken":"Address of the token used for the deployment fee."}},"setFactory(address)":{"details":"Only the owner can call this method. Emits a `FactorySet` event upon successful execution. Reverts if the provided factory address is zero.","params":{"factory":"The address of the new factory contract. emits FactorySet When the new factory address is set."}},"setPublicDeploymentStatus(bool)":{"details":"Enables or disables public deployments. If the function call doesn't change the current status, it will revert. Only the owner can call this method. Emits a `PublicDeploymentStatusSet` event upon successful execution. Reverts with `PublicDeploymentAlreadyEnabled` if trying to enable when already enabled. Reverts with `PublicDeploymentAlreadyDisabled` if trying to disable when already disabled.","params":{"_isEnabled":"Determines if public deployments are enabled (`true`) or disabled (`false`). emits PublicDeploymentStatusSet When the new public deployment status is set."}},"transferFactoryOwnership(address)":{"details":"Only the owner can call this method. Utilizes the `transferOwnership` function of the Ownable pattern.","params":{"_newOwner":"Address of the new owner for the Factory contract."}}},"version":1},"userdoc":{"kind":"user","methods":{"addDeployer(address)":{"notice":"Adds an address to the list of approved deployers."},"applyFeeDiscount(address,uint16)":{"notice":"Applies a fee discount to a specific deployer's address."},"calculateFee(address)":{"notice":"Calculates the deployment fee for a given deployer after accounting for any discounts."},"deployTREXSuite((address,string,string,uint8,address,address,address[],address[],address[],bytes[]),(uint256[],address[],uint256[][]))":{"notice":"Deploys a TREX suite of contracts using provided token and claim details."},"enableDeploymentFee(bool)":{"notice":"Toggles the deployment fee status for TREX contracts."},"getDeploymentFee()":{"notice":"Retrieves the current deployment fee details."},"getFactory()":{"notice":"Retrieves the address of the current Factory contract."},"getPublicDeploymentStatus()":{"notice":"Retrieves the current public deployment status."},"isDeployer(address)":{"notice":"Checks if the provided address is an approved deployer."},"isDeploymentFeeEnabled()":{"notice":"Checks if the deployment fee is currently enabled."},"removeDeployer(address)":{"notice":"Removes an address from the list of approved deployers."},"setDeploymentFee(uint256,address,address)":{"notice":"Sets the deployment fee details for TREX contracts."},"setFactory(address)":{"notice":"Sets the factory contract address used for deploying TREX smart contracts."},"setPublicDeploymentStatus(bool)":{"notice":"Sets the status for public deployments of TREX contracts."},"transferFactoryOwnership(address)":{"notice":"Transfers the ownership of the Factory contract."}},"version":1}},"settings":{"remappings":["@forge-std/=dependencies/forge-std-1.12.0/src/","@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/","@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/","@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/","forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/","onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/factory/ITREXGateway.sol":"ITREXGateway"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/factory/ITREXFactory.sol":{"keccak256":"0x7225bdfc2b6538da9a418d0c8384a818390d74095032a485f990caa28ca2ff5e","urls":["bzz-raw://a6b3b4115523c6407c2f51a3f8e349dc82291bb4f6d19d10defbc3fe814e6406","dweb:/ipfs/QmPd14S1hehj3Z9CvWUrRQVfVDXUN8a7icwpqsexhf7u9d"],"license":"GPL-3.0"},"contracts/factory/ITREXGateway.sol":{"keccak256":"0xa5b62992b588a5f5ef924637a775b1e98664025726156e1371b24a08c353d518","urls":["bzz-raw://0e94d09547985490007ecc81a9a4e5b46c44daeb69ac9c01ec27f7980ccf5030","dweb:/ipfs/QmZt46gL4VHYaLg7sEELXdbstzzPCoQcSFryBFWtkUaUBQ"],"license":"GPL-3.0"}},"version":1},"id":13}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"addAndUseTREXVersion","inputs":[{"name":"_version","type":"tuple","internalType":"struct ITREXImplementationAuthority.Version","components":[{"name":"major","type":"uint8","internalType":"uint8"},{"name":"minor","type":"uint8","internalType":"uint8"},{"name":"patch","type":"uint8","internalType":"uint8"}]},{"name":"_trex","type":"tuple","internalType":"struct ITREXImplementationAuthority.TREXContracts","components":[{"name":"tokenImplementation","type":"address","internalType":"address"},{"name":"ctrImplementation","type":"address","internalType":"address"},{"name":"irImplementation","type":"address","internalType":"address"},{"name":"irsImplementation","type":"address","internalType":"address"},{"name":"tirImplementation","type":"address","internalType":"address"},{"name":"mcImplementation","type":"address","internalType":"address"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"addTREXVersion","inputs":[{"name":"_version","type":"tuple","internalType":"struct ITREXImplementationAuthority.Version","components":[{"name":"major","type":"uint8","internalType":"uint8"},{"name":"minor","type":"uint8","internalType":"uint8"},{"name":"patch","type":"uint8","internalType":"uint8"}]},{"name":"_trex","type":"tuple","internalType":"struct ITREXImplementationAuthority.TREXContracts","components":[{"name":"tokenImplementation","type":"address","internalType":"address"},{"name":"ctrImplementation","type":"address","internalType":"address"},{"name":"irImplementation","type":"address","internalType":"address"},{"name":"irsImplementation","type":"address","internalType":"address"},{"name":"tirImplementation","type":"address","internalType":"address"},{"name":"mcImplementation","type":"address","internalType":"address"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"changeImplementationAuthority","inputs":[{"name":"_token","type":"address","internalType":"address"},{"name":"_newImplementationAuthority","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"fetchVersion","inputs":[{"name":"_version","type":"tuple","internalType":"struct ITREXImplementationAuthority.Version","components":[{"name":"major","type":"uint8","internalType":"uint8"},{"name":"minor","type":"uint8","internalType":"uint8"},{"name":"patch","type":"uint8","internalType":"uint8"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getCTRImplementation","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getContracts","inputs":[{"name":"_version","type":"tuple","internalType":"struct ITREXImplementationAuthority.Version","components":[{"name":"major","type":"uint8","internalType":"uint8"},{"name":"minor","type":"uint8","internalType":"uint8"},{"name":"patch","type":"uint8","internalType":"uint8"}]}],"outputs":[{"name":"","type":"tuple","internalType":"struct ITREXImplementationAuthority.TREXContracts","components":[{"name":"tokenImplementation","type":"address","internalType":"address"},{"name":"ctrImplementation","type":"address","internalType":"address"},{"name":"irImplementation","type":"address","internalType":"address"},{"name":"irsImplementation","type":"address","internalType":"address"},{"name":"tirImplementation","type":"address","internalType":"address"},{"name":"mcImplementation","type":"address","internalType":"address"}]}],"stateMutability":"view"},{"type":"function","name":"getCurrentVersion","inputs":[],"outputs":[{"name":"","type":"tuple","internalType":"struct ITREXImplementationAuthority.Version","components":[{"name":"major","type":"uint8","internalType":"uint8"},{"name":"minor","type":"uint8","internalType":"uint8"},{"name":"patch","type":"uint8","internalType":"uint8"}]}],"stateMutability":"view"},{"type":"function","name":"getIRImplementation","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getIRSImplementation","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getMCImplementation","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getReferenceContract","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getTIRImplementation","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getTREXFactory","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"getTokenImplementation","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"isReferenceContract","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"setIAFactory","inputs":[{"name":"iaFactory","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setTREXFactory","inputs":[{"name":"trexFactory","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"useTREXVersion","inputs":[{"name":"_version","type":"tuple","internalType":"struct ITREXImplementationAuthority.Version","components":[{"name":"major","type":"uint8","internalType":"uint8"},{"name":"minor","type":"uint8","internalType":"uint8"},{"name":"patch","type":"uint8","internalType":"uint8"}]}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"addAndUseTREXVersion((uint8,uint8,uint8),(address,address,address,address,address,address))":"71673bd0","addTREXVersion((uint8,uint8,uint8),(address,address,address,address,address,address))":"9585548a","changeImplementationAuthority(address,address)":"7f82a5e7","fetchVersion((uint8,uint8,uint8))":"0f3ca8ca","getCTRImplementation()":"6ff6e83f","getContracts((uint8,uint8,uint8))":"afce4bea","getCurrentVersion()":"fabec44a","getIRImplementation()":"1ee9ce8b","getIRSImplementation()":"9e3e7bb9","getMCImplementation()":"61f89825","getReferenceContract()":"cd24be22","getTIRImplementation()":"fedcc052","getTREXFactory()":"2c5d4f8e","getTokenImplementation()":"709bc7f3","isReferenceContract()":"1320a65a","setIAFactory(address)":"cf49020e","setTREXFactory(address)":"6df23789","useTREXVersion((uint8,uint8,uint8))":"f38d2491"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"major\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minor\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"patch\",\"type\":\"uint8\"}],\"internalType\":\"struct ITREXImplementationAuthority.Version\",\"name\":\"_version\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ctrImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"irImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"irsImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tirImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"mcImplementation\",\"type\":\"address\"}],\"internalType\":\"struct ITREXImplementationAuthority.TREXContracts\",\"name\":\"_trex\",\"type\":\"tuple\"}],\"name\":\"addAndUseTREXVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"major\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minor\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"patch\",\"type\":\"uint8\"}],\"internalType\":\"struct ITREXImplementationAuthority.Version\",\"name\":\"_version\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ctrImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"irImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"irsImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tirImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"mcImplementation\",\"type\":\"address\"}],\"internalType\":\"struct ITREXImplementationAuthority.TREXContracts\",\"name\":\"_trex\",\"type\":\"tuple\"}],\"name\":\"addTREXVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newImplementationAuthority\",\"type\":\"address\"}],\"name\":\"changeImplementationAuthority\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"major\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minor\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"patch\",\"type\":\"uint8\"}],\"internalType\":\"struct ITREXImplementationAuthority.Version\",\"name\":\"_version\",\"type\":\"tuple\"}],\"name\":\"fetchVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCTRImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"major\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minor\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"patch\",\"type\":\"uint8\"}],\"internalType\":\"struct ITREXImplementationAuthority.Version\",\"name\":\"_version\",\"type\":\"tuple\"}],\"name\":\"getContracts\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"tokenImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ctrImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"irImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"irsImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tirImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"mcImplementation\",\"type\":\"address\"}],\"internalType\":\"struct ITREXImplementationAuthority.TREXContracts\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentVersion\",\"outputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"major\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minor\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"patch\",\"type\":\"uint8\"}],\"internalType\":\"struct ITREXImplementationAuthority.Version\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getIRImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getIRSImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMCImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReferenceContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTIRImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTREXFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isReferenceContract\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"iaFactory\",\"type\":\"address\"}],\"name\":\"setIAFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"trexFactory\",\"type\":\"address\"}],\"name\":\"setTREXFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"major\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minor\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"patch\",\"type\":\"uint8\"}],\"internalType\":\"struct ITREXImplementationAuthority.Version\",\"name\":\"_version\",\"type\":\"tuple\"}],\"name\":\"useTREXVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"addAndUseTREXVersion((uint8,uint8,uint8),(address,address,address,address,address,address))\":{\"details\":\"updates the current version in use by the proxies variation of the `useTREXVersion` allowing to use a new version this function calls in a single transaction the `addTREXVersion` and the `useTREXVersion` using an existing version\",\"params\":{\"_trex\":\"the set of contracts corresponding to the version only Owner can call (check performed in addTREXVersion) only reference contract can call (check performed in addTREXVersion) emits a `TREXVersionAdded`event emits a `VersionUpdated` event\",\"_version\":\"the version to use\"}},\"addTREXVersion((uint8,uint8,uint8),(address,address,address,address,address,address))\":{\"details\":\"adds a new Version of TREXContracts to the mapping only callable on the reference contract only Owner can call this function\",\"params\":{\"_trex\":\"the list of contracts corresponding to the new version _trex cannot contain zero addresses emits a `TREXVersionAdded` event\",\"_version\":\"the new version to add to the mapping\"}},\"changeImplementationAuthority(address,address)\":{\"details\":\"change the implementationAuthority address of all proxy contracts linked to a given token only the owner of all proxy contracts can call this function\",\"params\":{\"_newImplementationAuthority\":\"the address of the new IA contract caller has to be owner of all contracts linked to the token and impacted by the change Set _newImplementationAuthority on zero address to deploy a new IA contract New IA contracts can only be deployed ONCE per token and only if current IA is the main IA if _newImplementationAuthority is not a new contract it must be using the same version as the current IA contract. calls `setImplementationAuthority` on all proxies linked to the token emits a `ImplementationAuthorityChanged` event\",\"_token\":\"the address of the token proxy\"}},\"fetchVersion((uint8,uint8,uint8))\":{\"details\":\"allows to fetch a TREX version available on the reference contract can be called only from auxiliary contracts, not on reference (main) contract throws if the version was already fetched adds the new version on the local storage allowing the update of contracts through the `useTREXVersion` afterwards\"},\"getCTRImplementation()\":{\"details\":\"getter function returning address of ClaimTopicsRegistry contract implementation currently used by the proxies using this TREXImplementationAuthority\"},\"getContracts((uint8,uint8,uint8))\":{\"details\":\"getter function returning the contracts corresponding to a version\",\"params\":{\"_version\":\"the version that contracts are requested for\"}},\"getCurrentVersion()\":{\"details\":\"getter function returning the current version of contracts used by proxies\"},\"getIRImplementation()\":{\"details\":\"getter function returning address of IdentityRegistry contract implementation currently used by the proxies using this TREXImplementationAuthority\"},\"getIRSImplementation()\":{\"details\":\"getter function returning address of IdentityRegistryStorage contract implementation currently used by the proxies using this TREXImplementationAuthority\"},\"getMCImplementation()\":{\"details\":\"getter function returning address of ModularCompliance contract implementation currently used by the proxies using this TREXImplementationAuthority\"},\"getReferenceContract()\":{\"details\":\"getter for reference contract address\"},\"getTIRImplementation()\":{\"details\":\"getter function returning address of TrustedIssuersRegistry contract implementation currently used by the proxies using this TREXImplementationAuthority\"},\"getTREXFactory()\":{\"details\":\"getter function returning address of reference TREX factory\"},\"getTokenImplementation()\":{\"details\":\"getter function returning address of token contract implementation currently used by the proxies using this TREXImplementationAuthority\"},\"isReferenceContract()\":{\"details\":\"returns true if the contract is the main contract returns false if the contract is an auxiliary contract\"},\"setIAFactory(address)\":{\"details\":\"setter for _iaFactory variable _iaFactory is set at zero address for auxiliary contracts for main contract it can be set post-deployment or at deployment in the constructor\",\"params\":{\"iaFactory\":\"the address of IAFactory contract emits a IAFactorySet event only Owner can call can be called only on main contract, auxiliary contracts cannot call\"}},\"setTREXFactory(address)\":{\"details\":\"setter for _trexFactory variable _trexFactory is set at deployment for auxiliary contracts for main contract it must be set post-deployment as main IA is deployed before the TREXFactory.\",\"params\":{\"trexFactory\":\"the address of TREXFactory contract emits a TREXFactorySet event only Owner can call can be called only on main contract, auxiliary contracts cannot call\"}},\"useTREXVersion((uint8,uint8,uint8))\":{\"details\":\"updates the current version in use by the proxies\",\"params\":{\"_version\":\"the version to use reverts if _version is already used or if version does not exist only Owner can call emits a `VersionUpdated` event\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/proxy/authority/ITREXImplementationAuthority.sol\":\"ITREXImplementationAuthority\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@forge-std/=dependencies/forge-std-1.12.0/src/\",\":@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/\",\":@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/\",\":@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/\",\":forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/\",\":onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/\"]},\"sources\":{\"contracts/proxy/authority/ITREXImplementationAuthority.sol\":{\"keccak256\":\"0xccc7b1eeed262b3942710b8d6df04ab70bce2479a088ac56fc9552f6373e6024\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://241e4e1fe6fc5a4daf107e3e15e4b001f2c8913374e308d97644821d75d0c54c\",\"dweb:/ipfs/QmNZeLRxaSvtt7dnZbRc1ygvgxP1tBXsTWUkkPrhsmZm8B\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"struct ITREXImplementationAuthority.Version","name":"_version","type":"tuple","components":[{"internalType":"uint8","name":"major","type":"uint8"},{"internalType":"uint8","name":"minor","type":"uint8"},{"internalType":"uint8","name":"patch","type":"uint8"}]},{"internalType":"struct ITREXImplementationAuthority.TREXContracts","name":"_trex","type":"tuple","components":[{"internalType":"address","name":"tokenImplementation","type":"address"},{"internalType":"address","name":"ctrImplementation","type":"address"},{"internalType":"address","name":"irImplementation","type":"address"},{"internalType":"address","name":"irsImplementation","type":"address"},{"internalType":"address","name":"tirImplementation","type":"address"},{"internalType":"address","name":"mcImplementation","type":"address"}]}],"stateMutability":"nonpayable","type":"function","name":"addAndUseTREXVersion"},{"inputs":[{"internalType":"struct ITREXImplementationAuthority.Version","name":"_version","type":"tuple","components":[{"internalType":"uint8","name":"major","type":"uint8"},{"internalType":"uint8","name":"minor","type":"uint8"},{"internalType":"uint8","name":"patch","type":"uint8"}]},{"internalType":"struct ITREXImplementationAuthority.TREXContracts","name":"_trex","type":"tuple","components":[{"internalType":"address","name":"tokenImplementation","type":"address"},{"internalType":"address","name":"ctrImplementation","type":"address"},{"internalType":"address","name":"irImplementation","type":"address"},{"internalType":"address","name":"irsImplementation","type":"address"},{"internalType":"address","name":"tirImplementation","type":"address"},{"internalType":"address","name":"mcImplementation","type":"address"}]}],"stateMutability":"nonpayable","type":"function","name":"addTREXVersion"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_newImplementationAuthority","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"changeImplementationAuthority"},{"inputs":[{"internalType":"struct ITREXImplementationAuthority.Version","name":"_version","type":"tuple","components":[{"internalType":"uint8","name":"major","type":"uint8"},{"internalType":"uint8","name":"minor","type":"uint8"},{"internalType":"uint8","name":"patch","type":"uint8"}]}],"stateMutability":"nonpayable","type":"function","name":"fetchVersion"},{"inputs":[],"stateMutability":"view","type":"function","name":"getCTRImplementation","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"struct ITREXImplementationAuthority.Version","name":"_version","type":"tuple","components":[{"internalType":"uint8","name":"major","type":"uint8"},{"internalType":"uint8","name":"minor","type":"uint8"},{"internalType":"uint8","name":"patch","type":"uint8"}]}],"stateMutability":"view","type":"function","name":"getContracts","outputs":[{"internalType":"struct ITREXImplementationAuthority.TREXContracts","name":"","type":"tuple","components":[{"internalType":"address","name":"tokenImplementation","type":"address"},{"internalType":"address","name":"ctrImplementation","type":"address"},{"internalType":"address","name":"irImplementation","type":"address"},{"internalType":"address","name":"irsImplementation","type":"address"},{"internalType":"address","name":"tirImplementation","type":"address"},{"internalType":"address","name":"mcImplementation","type":"address"}]}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getCurrentVersion","outputs":[{"internalType":"struct ITREXImplementationAuthority.Version","name":"","type":"tuple","components":[{"internalType":"uint8","name":"major","type":"uint8"},{"internalType":"uint8","name":"minor","type":"uint8"},{"internalType":"uint8","name":"patch","type":"uint8"}]}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getIRImplementation","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getIRSImplementation","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getMCImplementation","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getReferenceContract","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getTIRImplementation","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getTREXFactory","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getTokenImplementation","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"isReferenceContract","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"iaFactory","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setIAFactory"},{"inputs":[{"internalType":"address","name":"trexFactory","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setTREXFactory"},{"inputs":[{"internalType":"struct ITREXImplementationAuthority.Version","name":"_version","type":"tuple","components":[{"internalType":"uint8","name":"major","type":"uint8"},{"internalType":"uint8","name":"minor","type":"uint8"},{"internalType":"uint8","name":"patch","type":"uint8"}]}],"stateMutability":"nonpayable","type":"function","name":"useTREXVersion"}],"devdoc":{"kind":"dev","methods":{"addAndUseTREXVersion((uint8,uint8,uint8),(address,address,address,address,address,address))":{"details":"updates the current version in use by the proxies variation of the `useTREXVersion` allowing to use a new version this function calls in a single transaction the `addTREXVersion` and the `useTREXVersion` using an existing version","params":{"_trex":"the set of contracts corresponding to the version only Owner can call (check performed in addTREXVersion) only reference contract can call (check performed in addTREXVersion) emits a `TREXVersionAdded`event emits a `VersionUpdated` event","_version":"the version to use"}},"addTREXVersion((uint8,uint8,uint8),(address,address,address,address,address,address))":{"details":"adds a new Version of TREXContracts to the mapping only callable on the reference contract only Owner can call this function","params":{"_trex":"the list of contracts corresponding to the new version _trex cannot contain zero addresses emits a `TREXVersionAdded` event","_version":"the new version to add to the mapping"}},"changeImplementationAuthority(address,address)":{"details":"change the implementationAuthority address of all proxy contracts linked to a given token only the owner of all proxy contracts can call this function","params":{"_newImplementationAuthority":"the address of the new IA contract caller has to be owner of all contracts linked to the token and impacted by the change Set _newImplementationAuthority on zero address to deploy a new IA contract New IA contracts can only be deployed ONCE per token and only if current IA is the main IA if _newImplementationAuthority is not a new contract it must be using the same version as the current IA contract. calls `setImplementationAuthority` on all proxies linked to the token emits a `ImplementationAuthorityChanged` event","_token":"the address of the token proxy"}},"fetchVersion((uint8,uint8,uint8))":{"details":"allows to fetch a TREX version available on the reference contract can be called only from auxiliary contracts, not on reference (main) contract throws if the version was already fetched adds the new version on the local storage allowing the update of contracts through the `useTREXVersion` afterwards"},"getCTRImplementation()":{"details":"getter function returning address of ClaimTopicsRegistry contract implementation currently used by the proxies using this TREXImplementationAuthority"},"getContracts((uint8,uint8,uint8))":{"details":"getter function returning the contracts corresponding to a version","params":{"_version":"the version that contracts are requested for"}},"getCurrentVersion()":{"details":"getter function returning the current version of contracts used by proxies"},"getIRImplementation()":{"details":"getter function returning address of IdentityRegistry contract implementation currently used by the proxies using this TREXImplementationAuthority"},"getIRSImplementation()":{"details":"getter function returning address of IdentityRegistryStorage contract implementation currently used by the proxies using this TREXImplementationAuthority"},"getMCImplementation()":{"details":"getter function returning address of ModularCompliance contract implementation currently used by the proxies using this TREXImplementationAuthority"},"getReferenceContract()":{"details":"getter for reference contract address"},"getTIRImplementation()":{"details":"getter function returning address of TrustedIssuersRegistry contract implementation currently used by the proxies using this TREXImplementationAuthority"},"getTREXFactory()":{"details":"getter function returning address of reference TREX factory"},"getTokenImplementation()":{"details":"getter function returning address of token contract implementation currently used by the proxies using this TREXImplementationAuthority"},"isReferenceContract()":{"details":"returns true if the contract is the main contract returns false if the contract is an auxiliary contract"},"setIAFactory(address)":{"details":"setter for _iaFactory variable _iaFactory is set at zero address for auxiliary contracts for main contract it can be set post-deployment or at deployment in the constructor","params":{"iaFactory":"the address of IAFactory contract emits a IAFactorySet event only Owner can call can be called only on main contract, auxiliary contracts cannot call"}},"setTREXFactory(address)":{"details":"setter for _trexFactory variable _trexFactory is set at deployment for auxiliary contracts for main contract it must be set post-deployment as main IA is deployed before the TREXFactory.","params":{"trexFactory":"the address of TREXFactory contract emits a TREXFactorySet event only Owner can call can be called only on main contract, auxiliary contracts cannot call"}},"useTREXVersion((uint8,uint8,uint8))":{"details":"updates the current version in use by the proxies","params":{"_version":"the version to use reverts if _version is already used or if version does not exist only Owner can call emits a `VersionUpdated` event"}}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@forge-std/=dependencies/forge-std-1.12.0/src/","@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/","@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/","@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/","forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/","onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/proxy/authority/ITREXImplementationAuthority.sol":"ITREXImplementationAuthority"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/proxy/authority/ITREXImplementationAuthority.sol":{"keccak256":"0xccc7b1eeed262b3942710b8d6df04ab70bce2479a088ac56fc9552f6373e6024","urls":["bzz-raw://241e4e1fe6fc5a4daf107e3e15e4b001f2c8913374e308d97644821d75d0c54c","dweb:/ipfs/QmNZeLRxaSvtt7dnZbRc1ygvgxP1tBXsTWUkkPrhsmZm8B"],"license":"GPL-3.0"}},"version":1},"id":27}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"allowance","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"approve","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"batchBurn","inputs":[{"name":"_userAddresses","type":"address[]","internalType":"address[]"},{"name":"_amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchForcedTransfer","inputs":[{"name":"_fromList","type":"address[]","internalType":"address[]"},{"name":"_toList","type":"address[]","internalType":"address[]"},{"name":"_amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchFreezePartialTokens","inputs":[{"name":"_userAddresses","type":"address[]","internalType":"address[]"},{"name":"_amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchMint","inputs":[{"name":"_toList","type":"address[]","internalType":"address[]"},{"name":"_amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchSetAddressFrozen","inputs":[{"name":"_userAddresses","type":"address[]","internalType":"address[]"},{"name":"_freeze","type":"bool[]","internalType":"bool[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchTransfer","inputs":[{"name":"_toList","type":"address[]","internalType":"address[]"},{"name":"_amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchUnfreezePartialTokens","inputs":[{"name":"_userAddresses","type":"address[]","internalType":"address[]"},{"name":"_amounts","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"burn","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"compliance","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643Compliance"}],"stateMutability":"view"},{"type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"type":"function","name":"forcedTransfer","inputs":[{"name":"_from","type":"address","internalType":"address"},{"name":"_to","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"freezePartialTokens","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getAgentRestrictions","inputs":[{"name":"agent","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"tuple","internalType":"struct TokenRoles","components":[{"name":"disableMint","type":"bool","internalType":"bool"},{"name":"disableBurn","type":"bool","internalType":"bool"},{"name":"disablePartialFreeze","type":"bool","internalType":"bool"},{"name":"disableAddressFreeze","type":"bool","internalType":"bool"},{"name":"disableRecovery","type":"bool","internalType":"bool"},{"name":"disableForceTransfer","type":"bool","internalType":"bool"},{"name":"disablePause","type":"bool","internalType":"bool"}]}],"stateMutability":"view"},{"type":"function","name":"getFrozenTokens","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"identityRegistry","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643IdentityRegistry"}],"stateMutability":"view"},{"type":"function","name":"isFrozen","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"mint","inputs":[{"name":"_to","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"onchainID","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"pause","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"paused","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"recoveryAddress","inputs":[{"name":"_lostWallet","type":"address","internalType":"address"},{"name":"_newWallet","type":"address","internalType":"address"},{"name":"_investorOnchainID","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"setAddressFrozen","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_freeze","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setAgentRestrictions","inputs":[{"name":"agent","type":"address","internalType":"address"},{"name":"restrictions","type":"tuple","internalType":"struct TokenRoles","components":[{"name":"disableMint","type":"bool","internalType":"bool"},{"name":"disableBurn","type":"bool","internalType":"bool"},{"name":"disablePartialFreeze","type":"bool","internalType":"bool"},{"name":"disableAddressFreeze","type":"bool","internalType":"bool"},{"name":"disableRecovery","type":"bool","internalType":"bool"},{"name":"disableForceTransfer","type":"bool","internalType":"bool"},{"name":"disablePause","type":"bool","internalType":"bool"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setAllowanceForAll","inputs":[{"name":"targets","type":"address[]","internalType":"address[]"},{"name":"allow","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setCompliance","inputs":[{"name":"_compliance","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDefaultAllowance","inputs":[{"name":"allow","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setIdentityRegistry","inputs":[{"name":"_identityRegistry","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setName","inputs":[{"name":"_name","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setOnchainID","inputs":[{"name":"_onchainID","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setSymbol","inputs":[{"name":"_symbol","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setTrustedForwarder","inputs":[{"name":"trustedForwarder","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"transfer","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"unfreezePartialTokens","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"unpause","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"version","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","batchBurn(address[],uint256[])":"4a6cc677","batchForcedTransfer(address[],address[],uint256[])":"42a47abc","batchFreezePartialTokens(address[],uint256[])":"fc7e5fa8","batchMint(address[],uint256[])":"68573107","batchSetAddressFrozen(address[],bool[])":"1a7af379","batchTransfer(address[],uint256[])":"88d695b2","batchUnfreezePartialTokens(address[],uint256[])":"4710362d","burn(address,uint256)":"9dc29fac","compliance()":"6290865d","decimals()":"313ce567","forcedTransfer(address,address,uint256)":"9fc1d0e7","freezePartialTokens(address,uint256)":"125c4a33","getAgentRestrictions(address)":"c32bc8a5","getFrozenTokens(address)":"158b1a57","identityRegistry()":"134e18f4","isFrozen(address)":"e5839836","mint(address,uint256)":"40c10f19","name()":"06fdde03","onchainID()":"aba63705","pause()":"8456cb59","paused()":"5c975abb","recoveryAddress(address,address,address)":"9285948a","setAddressFrozen(address,bool)":"c69c09cf","setAgentRestrictions(address,(bool,bool,bool,bool,bool,bool,bool))":"d6f9a6c0","setAllowanceForAll(address[],bool)":"4b3e38ba","setCompliance(address)":"f8981789","setDefaultAllowance(bool)":"c953460b","setIdentityRegistry(address)":"cbf3f861","setName(string)":"c47f0027","setOnchainID(address)":"3d1ddc5b","setSymbol(string)":"b84c8246","setTrustedForwarder(address)":"da742228","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","unfreezePartialTokens(address,uint256)":"1fe56f7d","unpause()":"3f4ba83a","version()":"54fd4d50"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_userAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_fromList\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"_toList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchForcedTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_userAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchFreezePartialTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_toList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_userAddresses\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"_freeze\",\"type\":\"bool[]\"}],\"name\":\"batchSetAddressFrozen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_toList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_userAddresses\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"}],\"name\":\"batchUnfreezePartialTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"compliance\",\"outputs\":[{\"internalType\":\"contract IERC3643Compliance\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"forcedTransfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"freezePartialTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"getAgentRestrictions\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"disableMint\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableBurn\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disablePartialFreeze\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableAddressFreeze\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableRecovery\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableForceTransfer\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disablePause\",\"type\":\"bool\"}],\"internalType\":\"struct TokenRoles\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"getFrozenTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"identityRegistry\",\"outputs\":[{\"internalType\":\"contract IERC3643IdentityRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"isFrozen\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onchainID\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lostWallet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newWallet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_investorOnchainID\",\"type\":\"address\"}],\"name\":\"recoveryAddress\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_freeze\",\"type\":\"bool\"}],\"name\":\"setAddressFrozen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"bool\",\"name\":\"disableMint\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableBurn\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disablePartialFreeze\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableAddressFreeze\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableRecovery\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disableForceTransfer\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"disablePause\",\"type\":\"bool\"}],\"internalType\":\"struct TokenRoles\",\"name\":\"restrictions\",\"type\":\"tuple\"}],\"name\":\"setAgentRestrictions\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"bool\",\"name\":\"allow\",\"type\":\"bool\"}],\"name\":\"setAllowanceForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_compliance\",\"type\":\"address\"}],\"name\":\"setCompliance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"allow\",\"type\":\"bool\"}],\"name\":\"setDefaultAllowance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_identityRegistry\",\"type\":\"address\"}],\"name\":\"setIdentityRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_onchainID\",\"type\":\"address\"}],\"name\":\"setOnchainID\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"name\":\"setSymbol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"trustedForwarder\",\"type\":\"address\"}],\"name\":\"setTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unfreezePartialTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"batchBurn(address[],uint256[])\":{\"details\":\"Initiates burning of tokens in batch. Requires that the `_userAddresses` addresses are all verified and whitelisted addresses. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \\\"OUT OF GAS\\\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.\",\"params\":{\"_amounts\":\"The number of tokens to burn from the corresponding wallets. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from burning tokens. Emits _userAddresses.length `Transfer` events upon successful batch burn. To execute this function, the calling agent must not be restricted from burning tokens. If the agent is restricted from this capability, the function call will fail.\",\"_userAddresses\":\"The addresses of the wallets concerned by the burn.\"}},\"batchForcedTransfer(address[],address[],uint256[])\":{\"details\":\"Initiates forced transfers in batch. Requires that each _amounts[i] does not exceed the available balance of _fromList[i]. Requires that the _toList addresses are all verified and whitelisted addresses. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF _fromList.length IS TOO HIGH. USE WITH CARE TO AVOID \\\"OUT OF GAS\\\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.\",\"params\":{\"_amounts\":\"The number of tokens to transfer to the corresponding receiver. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from initiating forced transfers in batch. Emits `TokensUnfrozen` events for each `_amounts[i]` that exceeds the free balance of `_fromList[i]`. Also emits _fromList.length `Transfer` events upon successful batch transfer. To execute this function, the calling agent must not be restricted from initiating forced transfer. If the agent is restricted from this capability, the function call will fail.\",\"_fromList\":\"The addresses of the senders.\",\"_toList\":\"The addresses of the receivers.\"}},\"batchFreezePartialTokens(address[],uint256[])\":{\"details\":\"Initiates partial freezing of tokens in batch. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \\\"OUT OF GAS\\\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.\",\"params\":{\"_amounts\":\"The amount of tokens to freeze on the corresponding address. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from partially freezing tokens. Emits _userAddresses.length `TokensFrozen` events upon successful batch partial freezing. To execute this function, the calling agent must not be restricted from partially freezing tokens. If the agent is restricted from this capability, the function call will fail.\",\"_userAddresses\":\"The addresses on which tokens need to be partially frozen.\"}},\"batchMint(address[],uint256[])\":{\"details\":\"Initiates minting of tokens in batch. Requires that the `_toList` addresses are all verified and whitelisted addresses. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_toList.length` IS TOO HIGH. USE WITH CARE TO AVOID \\\"OUT OF GAS\\\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.\",\"params\":{\"_amounts\":\"The number of tokens to mint to the corresponding receiver. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from minting tokens. Emits _toList.length `Transfer` events upon successful batch minting. To execute this function, the calling agent must not be restricted from minting tokens. If the agent is restricted from this capability, the function call will fail.\",\"_toList\":\"The addresses of the receivers.\"}},\"batchSetAddressFrozen(address[],bool[])\":{\"details\":\"Initiates setting of frozen status for addresses in batch. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \\\"OUT OF GAS\\\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.\",\"params\":{\"_freeze\":\"Frozen status of the corresponding address. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from setting frozen addresses. Emits _userAddresses.length `AddressFrozen` events upon successful batch update of frozen status. To execute this function, the calling agent must not be restricted from setting frozen addresses. If the agent is restricted from this capability, the function call will fail.\",\"_userAddresses\":\"The addresses for which to update frozen status.\"}},\"batchTransfer(address[],uint256[])\":{\"details\":\"function allowing to issue transfers in batch Require that the msg.sender and `to` addresses are not frozen. Require that the total value should not exceed available balance. Require that the `to` addresses are all verified addresses, IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_toList.length` IS TOO HIGH, USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN \\\"OUT OF GAS\\\" TRANSACTION\",\"params\":{\"_amounts\":\"The number of tokens to transfer to the corresponding receiver emits _toList.length `Transfer` events\",\"_toList\":\"The addresses of the receivers\"}},\"batchUnfreezePartialTokens(address[],uint256[])\":{\"details\":\"Initiates partial unfreezing of tokens in batch. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \\\"OUT OF GAS\\\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.\",\"params\":{\"_amounts\":\"The amount of tokens to unfreeze on the corresponding address. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from partially freezing tokens. Emits _userAddresses.length `TokensUnfrozen` events upon successful batch partial unfreezing. To execute this function, the calling agent must not be restricted from partially freezing tokens. If the agent is restricted from this capability, the function call will fail.\",\"_userAddresses\":\"The addresses on which tokens need to be partially unfrozen.\"}},\"burn(address,uint256)\":{\"details\":\"Burns tokens from a specified address. If the account address does not have sufficient free tokens (unfrozen tokens) but possesses a total balance equal to or greater than the specified value, the frozen token amount is reduced to ensure enough free tokens for the burn. In such cases, the remaining balance in the account consists entirely of frozen tokens post-transaction.\",\"params\":{\"_amount\":\"Amount of tokens to burn. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from burning tokens. Emits a `TokensUnfrozen` event if `_amount` exceeds the free balance of `_userAddress`. Also emits a `Transfer` event. To execute this function, the calling agent must not be restricted from burning tokens. If the agent is restricted from this capability, the function call will fail.\",\"_userAddress\":\"Address to burn the tokens from.\"}},\"compliance()\":{\"details\":\"Returns the Compliance contract linked to the token\"},\"decimals()\":{\"details\":\"Returns the decimals places of the token.\"},\"forcedTransfer(address,address,uint256)\":{\"details\":\"Initiates a forced transfer of tokens between two whitelisted wallets. If the `from` address does not have sufficient free tokens (unfrozen tokens) but possesses a total balance equal to or greater than the specified `amount`, the frozen token amount is reduced to ensure enough free tokens for the transfer. In such cases, the remaining balance in the `from` account consists entirely of frozen tokens post-transfer. It is imperative that the `to` address is a verified and whitelisted address.\",\"params\":{\"_amount\":\"The number of tokens to be transferred. This function can only be invoked by a wallet designated as an agent of the token, provided the agent is not restricted from initiating forced transfers of the token. Emits a `TokensUnfrozen` event if `_amount` is higher than the free balance of `_from`. Also emits a `Transfer` event. To execute this function, the calling agent must not be restricted from initiating forced transfers of the token. If the agent is restricted from this capability, the function call will fail. The function can only be called when the contract is not already paused. error `AgentNotAuthorized` - Thrown if the agent is restricted from initiating forced transfers of the token, indicating they do not have the necessary permissions to execute this function.\",\"_from\":\"The address of the sender.\",\"_to\":\"The address of the receiver.\"}},\"freezePartialTokens(address,uint256)\":{\"details\":\"Freezes a specified token amount for a given address, preventing those tokens from being transferred. This function can be called by an agent of the token, provided the agent is not restricted from freezing tokens. emits a `TokensFrozen` event upon successful execution.\",\"params\":{\"_amount\":\"The amount of tokens to be frozen.\",\"_userAddress\":\"The address for which to freeze tokens.\"}},\"getAgentRestrictions(address)\":{\"details\":\"Returns A `TokenRoles` struct containing boolean flags for each restricted role. Each flag set to `true` disables the corresponding capability for the agent.\"},\"getFrozenTokens(address)\":{\"details\":\"Returns the amount of tokens that are partially frozen on a wallet the amount of frozen tokens is always <= to the total balance of the wallet\",\"params\":{\"_userAddress\":\"the address of the wallet on which getFrozenTokens is called\"}},\"identityRegistry()\":{\"details\":\"Returns the Identity Registry linked to the token\"},\"isFrozen(address)\":{\"details\":\"Returns the freezing status of a wallet if isFrozen returns `true` the wallet is frozen if isFrozen returns `false` the wallet is not frozen isFrozen returning `true` doesn't mean that the balance is free, tokens could be blocked by a partial freeze or the whole token could be blocked by pause\",\"params\":{\"_userAddress\":\"the address of the wallet on which isFrozen is called\"}},\"mint(address,uint256)\":{\"details\":\"Mints tokens to a specified address. This enhanced version of the default mint method allows tokens to be minted to an address only if it is a verified and whitelisted address according to the security token.\",\"params\":{\"_amount\":\"Amount of tokens to mint. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from minting tokens. Emits a `Transfer` event upon successful minting. To execute this function, the calling agent must not be restricted from minting tokens. If the agent is restricted from this capability, the function call will fail.\",\"_to\":\"Address to mint the tokens to.\"}},\"name()\":{\"details\":\"Returns the name of the token.\"},\"onchainID()\":{\"details\":\"Returns the address of the onchainID of the token. the onchainID of the token gives all the information available about the token and is managed by the token issuer or his agent.\"},\"pause()\":{\"details\":\"Pauses the token contract. When the contract is paused, investors cannot transfer tokens anymore. This function can only be called by an agent of the token, provided the agent is not restricted from pausing the token. emits a `Paused` event upon successful execution. To pause token transfers, the calling agent must have pausing capabilities enabled. If the agent is disabled from pausing, the function call will fail. The function can be called only when the contract is not already paused. error AgentNotAuthorized - Thrown if the agent is disabled from pausing the token, indicating they do not have the necessary permissions to execute this function.\"},\"paused()\":{\"details\":\"Returns true if the contract is paused, and false otherwise.\"},\"recoveryAddress(address,address,address)\":{\"details\":\"Initiates a recovery process to transfer tokens and associated states from a lost wallet to a new wallet for an investor. This function allows an authorized agent to recover tokens from a lost wallet, transferring them to a new wallet while preserving the investor's identity and status within the token ecosystem. The function ensures that all relevant data, including frozen tokens and address freezing status, is accurately transferred to the new wallet.\",\"params\":{\"_investorOnchainID\":\"The ONCHAINID of the investor whose tokens are being recovered. Requirements: - The caller must be an agent authorized to perform recovery operations, with no restrictions on this capability. - The `_lostWallet` must have a non-zero token balance; otherwise, the recovery is unnecessary and will revert. - Either the `_lostWallet` or the `_newWallet` must be present in the identity registry; if neither is present, the function will revert. Operations: - Transfers the entire token balance from `_lostWallet` to `_newWallet`. - Transfers any frozen tokens from `_lostWallet` to `_newWallet`, updating the frozen token count accordingly. - Transfers the address freeze status from `_lostWallet` to `_newWallet`, ensuring the new wallet retains any restrictions if applicable. - Updates the identity registry: - If `_lostWallet` is listed in the identity registry, it will be removed, and `_newWallet` will be registered unless already present. Emits the following events: - `TokensUnfrozen` if there are frozen tokens on `_lostWallet` that are transferred. - `TokensFrozen` if frozen tokens are added to `_newWallet`. - `AddressFrozen` if the freeze status of either wallet changes. - `Transfer` to reflect the movement of tokens from `_lostWallet` to `_newWallet`. - `RecoverySuccess` upon successful completion of the recovery process. Reverts if: - The agent calling the function does not have the necessary permissions to perform recovery (`AgentNotAuthorized`). - The `_lostWallet` has no tokens to recover (`NoTokenToRecover`). - Neither `_lostWallet` nor `_newWallet` is present in the identity registry (`RecoveryNotPossible`).\",\"_lostWallet\":\"The wallet that the investor lost, containing the tokens to be recovered.\",\"_newWallet\":\"The newly provided wallet to which tokens and associated statuses must be transferred.\"},\"returns\":{\"_0\":\"A boolean value indicating whether the recovery process was successful.\"}},\"setAddressFrozen(address,bool)\":{\"details\":\"Sets an address's frozen status for this token, either freezing or unfreezing the address based on the provided boolean value. This function can be called by an agent of the token, assuming the agent is not restricted from freezing addresses. emits an `AddressFrozen` event upon successful execution.\",\"params\":{\"_freeze\":\"The frozen status to be applied: `true` to freeze, `false` to unfreeze.\",\"_userAddress\":\"The address for which to update the frozen status.\"}},\"setAgentRestrictions(address,(bool,bool,bool,bool,bool,bool,bool))\":{\"details\":\"Set restrictions on agent's roles. This function can only be called by the contract owner, as enforced by the `onlyOwner` modifier. Emits an `AgentRestrictionsSet` event upon successfully updating an agent's restrictions.\",\"params\":{\"agent\":\"The address of the agent whose permissions are being modified.\",\"restrictions\":\"A `TokenRoles` struct containing boolean flags for each role to be restricted. Each flag set to `true` disables the corresponding capability for the agent. Throws AddressNotAgent error if the specified address is not an agent.\"}},\"setAllowanceForAll(address[],bool)\":{\"details\":\"The owner of this address can allow or disallow spending without allowance. Any `TransferFrom` from these targets won't need allowance (allow = true) or will need allowance (allow = false).\",\"params\":{\"allow\":\"Allow or disallow spending without allowance.\",\"targets\":\"Addresses without allowance needed.\"}},\"setCompliance(address)\":{\"details\":\"sets the compliance contract of the token\",\"params\":{\"_compliance\":\"the address of the compliance contract to set Only the owner of the token smart contract can call this function calls bindToken on the compliance contract emits a `ComplianceAdded` event\"}},\"setDefaultAllowance(bool)\":{\"details\":\"The caller can set or remove default allowance globally.\"},\"setIdentityRegistry(address)\":{\"details\":\"sets the Identity Registry for the token\",\"params\":{\"_identityRegistry\":\"the address of the Identity Registry to set Only the owner of the token smart contract can call this function emits an `IdentityRegistryAdded` event\"}},\"setName(string)\":{\"details\":\"sets the token name\",\"params\":{\"_name\":\"the name of token to set Only the owner of the token smart contract can call this function emits a `UpdatedTokenInformation` event\"}},\"setOnchainID(address)\":{\"details\":\"sets the onchain ID of the token\",\"params\":{\"_onchainID\":\"the address of the onchain ID to set Only the owner of the token smart contract can call this function emits a `UpdatedTokenInformation` event\"}},\"setSymbol(string)\":{\"details\":\"sets the token symbol\",\"params\":{\"_symbol\":\"the token symbol to set Only the owner of the token smart contract can call this function emits a `UpdatedTokenInformation` event\"}},\"setTrustedForwarder(address)\":{\"details\":\"Sets the trusted forwarder for the token (ERC-2771).\",\"params\":{\"trustedForwarder\":\"The address of the trusted forwarder.\"}},\"symbol()\":{\"details\":\"Returns the symbol of the token.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"unfreezePartialTokens(address,uint256)\":{\"details\":\"Unfreezes a specified token amount for a given address, allowing those tokens to be transferred again. This function can be called by an agent of the token, assuming the agent is not restricted from unfreezing tokens. emits a `TokensUnfrozen` event upon successful execution.\",\"params\":{\"_amount\":\"The amount of tokens to be unfrozen.\",\"_userAddress\":\"The address for which to unfreeze tokens.\"}},\"unpause()\":{\"details\":\"Unpauses the token contract, allowing investors to resume token transfers under normal conditions This function can only be called by an agent of the token, provided the agent is not restricted from pausing the token. emits an `Unpaused` event upon successful execution. To unpause token transfers, the calling agent must have pausing capabilities enabled. If the agent is disabled from pausing, the function call will fail. The function can be called only when the contract is currently paused. error AgentNotAuthorized - Thrown if the agent is disabled from pausing the token, indicating they do not have the necessary permissions to execute this function.\"},\"version()\":{\"details\":\"Returns the TREX version of the token.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"freezePartialTokens(address,uint256)\":{\"notice\":\"To freeze tokens for an address, the calling agent must have the capability to freeze tokens enabled. If the agent is disabled from freezing tokens, the function call will fail. error AgentNotAuthorized - Thrown if the agent is disabled from freezing tokens, indicating they do not have the necessary permissions to execute this function.\"},\"setAddressFrozen(address,bool)\":{\"notice\":\"To change an address's frozen status, the calling agent must have the capability to freeze addresses enabled. If the agent is disabled from freezing addresses, the function call will fail. error AgentNotAuthorized - Thrown if the agent is disabled from freezing addresses, indicating they do not have the necessary permissions to execute this function.\"},\"unfreezePartialTokens(address,uint256)\":{\"notice\":\"To unfreeze tokens for an address, the calling agent must have the capability to unfreeze tokens enabled. If the agent is disabled from unfreezing tokens, the function call will fail. error AgentNotAuthorized - Thrown if the agent is disabled from unfreezing tokens, indicating they do not have the necessary permissions to execute this function.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/token/IToken.sol\":\"IToken\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@forge-std/=dependencies/forge-std-1.12.0/src/\",\":@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/\",\":@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/\",\":@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/\",\":forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/\",\":onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/\"]},\"sources\":{\"contracts/ERC-3643/IERC3643.sol\":{\"keccak256\":\"0xb2d8b7bfa02fb0d46a8173f5a2d284b3934bed3c980dfa557742d1a09e480ab7\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://5b08c0cf7a3026a70a4038be35b857e3ae2f3f2564041cb0b6fcfa0420ecfd06\",\"dweb:/ipfs/QmQuP73uvZC7fyXVcHUKRyucfZ2vCvuEN6PPhXnjVMRZsd\"]},\"contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol\":{\"keccak256\":\"0xa92a2b9791e297cfc19551dd4128b62668d04b430cefc563372632964abd5f1e\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://ac8b764ac97eb3ceaa3d82a31866b4212d9f22f6469b8ef093057042356e389e\",\"dweb:/ipfs/QmXjdm1BuvJiAn5DKVbgNBQoD5nEjvPP4d3HaAmCNCYeWY\"]},\"contracts/ERC-3643/IERC3643Compliance.sol\":{\"keccak256\":\"0x0c0fe341ba4c9f036d2f006fe72befd9ab4a3cdf02111b96360e4fedd5413200\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://afb977b4a0947d599418b6997e5ca4cd4fb8604065148ec9d38f30334d580226\",\"dweb:/ipfs/QmWmWAo6jgifG1fTCVdsuVUntMr3N8PY5BWf6z9yvVRque\"]},\"contracts/ERC-3643/IERC3643IdentityRegistry.sol\":{\"keccak256\":\"0x498e2b56aaa6921fbb1833f348e1067206cae3a71f4458c7332bce0e6b4eec99\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://44ad6ce8f2cb3db57f211a0cf494cb1caf8e2dbf70a28b56f458b53e208e54b6\",\"dweb:/ipfs/QmdXDQ1uchujcGBHbde79JasuruvX3BZgwysMfaAMpVXrc\"]},\"contracts/ERC-3643/IERC3643IdentityRegistryStorage.sol\":{\"keccak256\":\"0xd564e0e053f5ff3f2eccc7816882c1f6f638aa48045e39f4e1acd8b9c5675eda\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://35f6f5a2dd5c9e27a3663e5a0493e9d2a10c07b1fcbb87e8989e6b5cb98c2823\",\"dweb:/ipfs/QmVWg7znBs4hkTz6Qd1oXteAY55yvcAK1KL4u2g4bAsQRp\"]},\"contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol\":{\"keccak256\":\"0x778f7737e9f21d3dd32a67950209de857d402d61c812899ed3e694110d32e328\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://3038395e2572c9ac47c352ce73d8df369886629bf524ae8dbc9b4a0d612c2129\",\"dweb:/ipfs/Qmb58UurtCtiRBNwDnQyLJkqpw8WJG6F3siam7iHq3zvUN\"]},\"contracts/token/IToken.sol\":{\"keccak256\":\"0xbba7d236b8692536fa886f2afdf277796fe99469555c05f2b03609bf21c2b327\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://d616f9497686212c8cce8cbcde047a96b7440d1035df20d7440017218d77385d\",\"dweb:/ipfs/QmPiUSnULcdaASNf7DWHa5Dvy8RgauhnqhmJ2KP3BfisVD\"]},\"contracts/token/TokenStructs.sol\":{\"keccak256\":\"0x93427887d9b4c640cdfc9acab8605aaac0c7a5948283867d4c8498fe4c1b0b65\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://9ad302fa503813e9d489319ce006b4c27262befd885c5caf324af3f25be78d78\",\"dweb:/ipfs/Qmbo2bm9N42Gggq94ZW1ws5WbNzu4Zabr7M3CKZd9nb8MB\"]},\"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303\",\"dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV\"]},\"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0xd6fa4088198f04eef10c5bce8a2f4d60554b7ec4b987f684393c01bf79b94d9f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f95ee0bbd4dd3ac730d066ba3e785ded4565e890dbec2fa7d3b9fe3bad9d0d6e\",\"dweb:/ipfs/QmSLr6bHkPFWT7ntj34jmwfyskpwo97T9jZUrk5sz3sdtR\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IClaimIssuer.sol\":{\"keccak256\":\"0xfa00fab9cdae78d678041fde219784d085b13bf384f5ced1b9d672b66047d2b1\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://16728964bed464c22f1dec8374c2b889557369825d6f3e7865024014395dbd15\",\"dweb:/ipfs/QmWm4tYqDMPMLBnkJNTv3K6whQugXky99Voyn3Xo9fDb5S\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC734.sol\":{\"keccak256\":\"0x039a0ff5b1531a5a0f86144416358eb20c5b5d2953b40e86e9ac2f68abff9138\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2697b84976059ea30fe4478b2ec0e2e56a6d9994ca7ef032c3a88fe669687293\",\"dweb:/ipfs/QmceXGqfM81EZaVU9SoT6oVMKZ4q21QQj3pcs4LbgaRrV9\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC735.sol\":{\"keccak256\":\"0x8331ad94717c3840dfec7d8d607bbdc520fc9d7a6bde1aca25f563d8b4a4b010\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://52bcb40e7461232cf9e17d7180704b8ffd49dac29c37a195e416ad3fe53a9793\",\"dweb:/ipfs/QmURLhrNs72BJB4wxU4s7vqgUEaM8DoHNeWVjnQwJZDwEL\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IIdentity.sol\":{\"keccak256\":\"0xa3d88d2e1e62d62a8b115deaad1d9c22e106220708b448d7a5d3a7755eb31748\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://db98a894f96cf2d815fb8c9760269c761f6ad113a76b6ae6c856a16948590895\",\"dweb:/ipfs/QmRsSJrvmrjsDtXNGrrKTzES2Exa7h7yzyBHmKSwCArLrj\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address","indexed":true},{"internalType":"address","name":"spender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Approval","anonymous":false},{"inputs":[{"internalType":"address","name":"from","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Transfer","anonymous":false},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"stateMutability":"view","type":"function","name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"batchBurn"},{"inputs":[{"internalType":"address[]","name":"_fromList","type":"address[]"},{"internalType":"address[]","name":"_toList","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"batchForcedTransfer"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"batchFreezePartialTokens"},{"inputs":[{"internalType":"address[]","name":"_toList","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"batchMint"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"bool[]","name":"_freeze","type":"bool[]"}],"stateMutability":"nonpayable","type":"function","name":"batchSetAddressFrozen"},{"inputs":[{"internalType":"address[]","name":"_toList","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"batchTransfer"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"batchUnfreezePartialTokens"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"burn"},{"inputs":[],"stateMutability":"view","type":"function","name":"compliance","outputs":[{"internalType":"contract IERC3643Compliance","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}]},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"forcedTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"freezePartialTokens"},{"inputs":[{"internalType":"address","name":"agent","type":"address"}],"stateMutability":"view","type":"function","name":"getAgentRestrictions","outputs":[{"internalType":"struct TokenRoles","name":"","type":"tuple","components":[{"internalType":"bool","name":"disableMint","type":"bool"},{"internalType":"bool","name":"disableBurn","type":"bool"},{"internalType":"bool","name":"disablePartialFreeze","type":"bool"},{"internalType":"bool","name":"disableAddressFreeze","type":"bool"},{"internalType":"bool","name":"disableRecovery","type":"bool"},{"internalType":"bool","name":"disableForceTransfer","type":"bool"},{"internalType":"bool","name":"disablePause","type":"bool"}]}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"getFrozenTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"identityRegistry","outputs":[{"internalType":"contract IERC3643IdentityRegistry","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"mint"},{"inputs":[],"stateMutability":"view","type":"function","name":"name","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"onchainID","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"pause"},{"inputs":[],"stateMutability":"view","type":"function","name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_lostWallet","type":"address"},{"internalType":"address","name":"_newWallet","type":"address"},{"internalType":"address","name":"_investorOnchainID","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"recoveryAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"bool","name":"_freeze","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"setAddressFrozen"},{"inputs":[{"internalType":"address","name":"agent","type":"address"},{"internalType":"struct TokenRoles","name":"restrictions","type":"tuple","components":[{"internalType":"bool","name":"disableMint","type":"bool"},{"internalType":"bool","name":"disableBurn","type":"bool"},{"internalType":"bool","name":"disablePartialFreeze","type":"bool"},{"internalType":"bool","name":"disableAddressFreeze","type":"bool"},{"internalType":"bool","name":"disableRecovery","type":"bool"},{"internalType":"bool","name":"disableForceTransfer","type":"bool"},{"internalType":"bool","name":"disablePause","type":"bool"}]}],"stateMutability":"nonpayable","type":"function","name":"setAgentRestrictions"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"bool","name":"allow","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"setAllowanceForAll"},{"inputs":[{"internalType":"address","name":"_compliance","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setCompliance"},{"inputs":[{"internalType":"bool","name":"allow","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"setDefaultAllowance"},{"inputs":[{"internalType":"address","name":"_identityRegistry","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setIdentityRegistry"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"setName"},{"inputs":[{"internalType":"address","name":"_onchainID","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setOnchainID"},{"inputs":[{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"setSymbol"},{"inputs":[{"internalType":"address","name":"trustedForwarder","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setTrustedForwarder"},{"inputs":[],"stateMutability":"view","type":"function","name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"unfreezePartialTokens"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unpause"},{"inputs":[],"stateMutability":"view","type":"function","name":"version","outputs":[{"internalType":"string","name":"","type":"string"}]}],"devdoc":{"kind":"dev","methods":{"allowance(address,address)":{"details":"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called."},"approve(address,uint256)":{"details":"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."},"balanceOf(address)":{"details":"Returns the value of tokens owned by `account`."},"batchBurn(address[],uint256[])":{"details":"Initiates burning of tokens in batch. Requires that the `_userAddresses` addresses are all verified and whitelisted addresses. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \"OUT OF GAS\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.","params":{"_amounts":"The number of tokens to burn from the corresponding wallets. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from burning tokens. Emits _userAddresses.length `Transfer` events upon successful batch burn. To execute this function, the calling agent must not be restricted from burning tokens. If the agent is restricted from this capability, the function call will fail.","_userAddresses":"The addresses of the wallets concerned by the burn."}},"batchForcedTransfer(address[],address[],uint256[])":{"details":"Initiates forced transfers in batch. Requires that each _amounts[i] does not exceed the available balance of _fromList[i]. Requires that the _toList addresses are all verified and whitelisted addresses. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF _fromList.length IS TOO HIGH. USE WITH CARE TO AVOID \"OUT OF GAS\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.","params":{"_amounts":"The number of tokens to transfer to the corresponding receiver. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from initiating forced transfers in batch. Emits `TokensUnfrozen` events for each `_amounts[i]` that exceeds the free balance of `_fromList[i]`. Also emits _fromList.length `Transfer` events upon successful batch transfer. To execute this function, the calling agent must not be restricted from initiating forced transfer. If the agent is restricted from this capability, the function call will fail.","_fromList":"The addresses of the senders.","_toList":"The addresses of the receivers."}},"batchFreezePartialTokens(address[],uint256[])":{"details":"Initiates partial freezing of tokens in batch. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \"OUT OF GAS\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.","params":{"_amounts":"The amount of tokens to freeze on the corresponding address. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from partially freezing tokens. Emits _userAddresses.length `TokensFrozen` events upon successful batch partial freezing. To execute this function, the calling agent must not be restricted from partially freezing tokens. If the agent is restricted from this capability, the function call will fail.","_userAddresses":"The addresses on which tokens need to be partially frozen."}},"batchMint(address[],uint256[])":{"details":"Initiates minting of tokens in batch. Requires that the `_toList` addresses are all verified and whitelisted addresses. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_toList.length` IS TOO HIGH. USE WITH CARE TO AVOID \"OUT OF GAS\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.","params":{"_amounts":"The number of tokens to mint to the corresponding receiver. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from minting tokens. Emits _toList.length `Transfer` events upon successful batch minting. To execute this function, the calling agent must not be restricted from minting tokens. If the agent is restricted from this capability, the function call will fail.","_toList":"The addresses of the receivers."}},"batchSetAddressFrozen(address[],bool[])":{"details":"Initiates setting of frozen status for addresses in batch. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \"OUT OF GAS\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.","params":{"_freeze":"Frozen status of the corresponding address. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from setting frozen addresses. Emits _userAddresses.length `AddressFrozen` events upon successful batch update of frozen status. To execute this function, the calling agent must not be restricted from setting frozen addresses. If the agent is restricted from this capability, the function call will fail.","_userAddresses":"The addresses for which to update frozen status."}},"batchTransfer(address[],uint256[])":{"details":"function allowing to issue transfers in batch Require that the msg.sender and `to` addresses are not frozen. Require that the total value should not exceed available balance. Require that the `to` addresses are all verified addresses, IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_toList.length` IS TOO HIGH, USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN \"OUT OF GAS\" TRANSACTION","params":{"_amounts":"The number of tokens to transfer to the corresponding receiver emits _toList.length `Transfer` events","_toList":"The addresses of the receivers"}},"batchUnfreezePartialTokens(address[],uint256[])":{"details":"Initiates partial unfreezing of tokens in batch. IMPORTANT: THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH. USE WITH CARE TO AVOID \"OUT OF GAS\" TRANSACTIONS AND POTENTIAL LOSS OF TX FEES.","params":{"_amounts":"The amount of tokens to unfreeze on the corresponding address. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from partially freezing tokens. Emits _userAddresses.length `TokensUnfrozen` events upon successful batch partial unfreezing. To execute this function, the calling agent must not be restricted from partially freezing tokens. If the agent is restricted from this capability, the function call will fail.","_userAddresses":"The addresses on which tokens need to be partially unfrozen."}},"burn(address,uint256)":{"details":"Burns tokens from a specified address. If the account address does not have sufficient free tokens (unfrozen tokens) but possesses a total balance equal to or greater than the specified value, the frozen token amount is reduced to ensure enough free tokens for the burn. In such cases, the remaining balance in the account consists entirely of frozen tokens post-transaction.","params":{"_amount":"Amount of tokens to burn. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from burning tokens. Emits a `TokensUnfrozen` event if `_amount` exceeds the free balance of `_userAddress`. Also emits a `Transfer` event. To execute this function, the calling agent must not be restricted from burning tokens. If the agent is restricted from this capability, the function call will fail.","_userAddress":"Address to burn the tokens from."}},"compliance()":{"details":"Returns the Compliance contract linked to the token"},"decimals()":{"details":"Returns the decimals places of the token."},"forcedTransfer(address,address,uint256)":{"details":"Initiates a forced transfer of tokens between two whitelisted wallets. If the `from` address does not have sufficient free tokens (unfrozen tokens) but possesses a total balance equal to or greater than the specified `amount`, the frozen token amount is reduced to ensure enough free tokens for the transfer. In such cases, the remaining balance in the `from` account consists entirely of frozen tokens post-transfer. It is imperative that the `to` address is a verified and whitelisted address.","params":{"_amount":"The number of tokens to be transferred. This function can only be invoked by a wallet designated as an agent of the token, provided the agent is not restricted from initiating forced transfers of the token. Emits a `TokensUnfrozen` event if `_amount` is higher than the free balance of `_from`. Also emits a `Transfer` event. To execute this function, the calling agent must not be restricted from initiating forced transfers of the token. If the agent is restricted from this capability, the function call will fail. The function can only be called when the contract is not already paused. error `AgentNotAuthorized` - Thrown if the agent is restricted from initiating forced transfers of the token, indicating they do not have the necessary permissions to execute this function.","_from":"The address of the sender.","_to":"The address of the receiver."}},"freezePartialTokens(address,uint256)":{"details":"Freezes a specified token amount for a given address, preventing those tokens from being transferred. This function can be called by an agent of the token, provided the agent is not restricted from freezing tokens. emits a `TokensFrozen` event upon successful execution.","params":{"_amount":"The amount of tokens to be frozen.","_userAddress":"The address for which to freeze tokens."}},"getAgentRestrictions(address)":{"details":"Returns A `TokenRoles` struct containing boolean flags for each restricted role. Each flag set to `true` disables the corresponding capability for the agent."},"getFrozenTokens(address)":{"details":"Returns the amount of tokens that are partially frozen on a wallet the amount of frozen tokens is always <= to the total balance of the wallet","params":{"_userAddress":"the address of the wallet on which getFrozenTokens is called"}},"identityRegistry()":{"details":"Returns the Identity Registry linked to the token"},"isFrozen(address)":{"details":"Returns the freezing status of a wallet if isFrozen returns `true` the wallet is frozen if isFrozen returns `false` the wallet is not frozen isFrozen returning `true` doesn't mean that the balance is free, tokens could be blocked by a partial freeze or the whole token could be blocked by pause","params":{"_userAddress":"the address of the wallet on which isFrozen is called"}},"mint(address,uint256)":{"details":"Mints tokens to a specified address. This enhanced version of the default mint method allows tokens to be minted to an address only if it is a verified and whitelisted address according to the security token.","params":{"_amount":"Amount of tokens to mint. This function can only be called by a wallet designated as an agent of the token, provided the agent is not restricted from minting tokens. Emits a `Transfer` event upon successful minting. To execute this function, the calling agent must not be restricted from minting tokens. If the agent is restricted from this capability, the function call will fail.","_to":"Address to mint the tokens to."}},"name()":{"details":"Returns the name of the token."},"onchainID()":{"details":"Returns the address of the onchainID of the token. the onchainID of the token gives all the information available about the token and is managed by the token issuer or his agent."},"pause()":{"details":"Pauses the token contract. When the contract is paused, investors cannot transfer tokens anymore. This function can only be called by an agent of the token, provided the agent is not restricted from pausing the token. emits a `Paused` event upon successful execution. To pause token transfers, the calling agent must have pausing capabilities enabled. If the agent is disabled from pausing, the function call will fail. The function can be called only when the contract is not already paused. error AgentNotAuthorized - Thrown if the agent is disabled from pausing the token, indicating they do not have the necessary permissions to execute this function."},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"recoveryAddress(address,address,address)":{"details":"Initiates a recovery process to transfer tokens and associated states from a lost wallet to a new wallet for an investor. This function allows an authorized agent to recover tokens from a lost wallet, transferring them to a new wallet while preserving the investor's identity and status within the token ecosystem. The function ensures that all relevant data, including frozen tokens and address freezing status, is accurately transferred to the new wallet.","params":{"_investorOnchainID":"The ONCHAINID of the investor whose tokens are being recovered. Requirements: - The caller must be an agent authorized to perform recovery operations, with no restrictions on this capability. - The `_lostWallet` must have a non-zero token balance; otherwise, the recovery is unnecessary and will revert. - Either the `_lostWallet` or the `_newWallet` must be present in the identity registry; if neither is present, the function will revert. Operations: - Transfers the entire token balance from `_lostWallet` to `_newWallet`. - Transfers any frozen tokens from `_lostWallet` to `_newWallet`, updating the frozen token count accordingly. - Transfers the address freeze status from `_lostWallet` to `_newWallet`, ensuring the new wallet retains any restrictions if applicable. - Updates the identity registry: - If `_lostWallet` is listed in the identity registry, it will be removed, and `_newWallet` will be registered unless already present. Emits the following events: - `TokensUnfrozen` if there are frozen tokens on `_lostWallet` that are transferred. - `TokensFrozen` if frozen tokens are added to `_newWallet`. - `AddressFrozen` if the freeze status of either wallet changes. - `Transfer` to reflect the movement of tokens from `_lostWallet` to `_newWallet`. - `RecoverySuccess` upon successful completion of the recovery process. Reverts if: - The agent calling the function does not have the necessary permissions to perform recovery (`AgentNotAuthorized`). - The `_lostWallet` has no tokens to recover (`NoTokenToRecover`). - Neither `_lostWallet` nor `_newWallet` is present in the identity registry (`RecoveryNotPossible`).","_lostWallet":"The wallet that the investor lost, containing the tokens to be recovered.","_newWallet":"The newly provided wallet to which tokens and associated statuses must be transferred."},"returns":{"_0":"A boolean value indicating whether the recovery process was successful."}},"setAddressFrozen(address,bool)":{"details":"Sets an address's frozen status for this token, either freezing or unfreezing the address based on the provided boolean value. This function can be called by an agent of the token, assuming the agent is not restricted from freezing addresses. emits an `AddressFrozen` event upon successful execution.","params":{"_freeze":"The frozen status to be applied: `true` to freeze, `false` to unfreeze.","_userAddress":"The address for which to update the frozen status."}},"setAgentRestrictions(address,(bool,bool,bool,bool,bool,bool,bool))":{"details":"Set restrictions on agent's roles. This function can only be called by the contract owner, as enforced by the `onlyOwner` modifier. Emits an `AgentRestrictionsSet` event upon successfully updating an agent's restrictions.","params":{"agent":"The address of the agent whose permissions are being modified.","restrictions":"A `TokenRoles` struct containing boolean flags for each role to be restricted. Each flag set to `true` disables the corresponding capability for the agent. Throws AddressNotAgent error if the specified address is not an agent."}},"setAllowanceForAll(address[],bool)":{"details":"The owner of this address can allow or disallow spending without allowance. Any `TransferFrom` from these targets won't need allowance (allow = true) or will need allowance (allow = false).","params":{"allow":"Allow or disallow spending without allowance.","targets":"Addresses without allowance needed."}},"setCompliance(address)":{"details":"sets the compliance contract of the token","params":{"_compliance":"the address of the compliance contract to set Only the owner of the token smart contract can call this function calls bindToken on the compliance contract emits a `ComplianceAdded` event"}},"setDefaultAllowance(bool)":{"details":"The caller can set or remove default allowance globally."},"setIdentityRegistry(address)":{"details":"sets the Identity Registry for the token","params":{"_identityRegistry":"the address of the Identity Registry to set Only the owner of the token smart contract can call this function emits an `IdentityRegistryAdded` event"}},"setName(string)":{"details":"sets the token name","params":{"_name":"the name of token to set Only the owner of the token smart contract can call this function emits a `UpdatedTokenInformation` event"}},"setOnchainID(address)":{"details":"sets the onchain ID of the token","params":{"_onchainID":"the address of the onchain ID to set Only the owner of the token smart contract can call this function emits a `UpdatedTokenInformation` event"}},"setSymbol(string)":{"details":"sets the token symbol","params":{"_symbol":"the token symbol to set Only the owner of the token smart contract can call this function emits a `UpdatedTokenInformation` event"}},"setTrustedForwarder(address)":{"details":"Sets the trusted forwarder for the token (ERC-2771).","params":{"trustedForwarder":"The address of the trusted forwarder."}},"symbol()":{"details":"Returns the symbol of the token."},"totalSupply()":{"details":"Returns the value of tokens in existence."},"transfer(address,uint256)":{"details":"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."},"transferFrom(address,address,uint256)":{"details":"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."},"unfreezePartialTokens(address,uint256)":{"details":"Unfreezes a specified token amount for a given address, allowing those tokens to be transferred again. This function can be called by an agent of the token, assuming the agent is not restricted from unfreezing tokens. emits a `TokensUnfrozen` event upon successful execution.","params":{"_amount":"The amount of tokens to be unfrozen.","_userAddress":"The address for which to unfreeze tokens."}},"unpause()":{"details":"Unpauses the token contract, allowing investors to resume token transfers under normal conditions This function can only be called by an agent of the token, provided the agent is not restricted from pausing the token. emits an `Unpaused` event upon successful execution. To unpause token transfers, the calling agent must have pausing capabilities enabled. If the agent is disabled from pausing, the function call will fail. The function can be called only when the contract is currently paused. error AgentNotAuthorized - Thrown if the agent is disabled from pausing the token, indicating they do not have the necessary permissions to execute this function."},"version()":{"details":"Returns the TREX version of the token."}},"version":1},"userdoc":{"kind":"user","methods":{"freezePartialTokens(address,uint256)":{"notice":"To freeze tokens for an address, the calling agent must have the capability to freeze tokens enabled. If the agent is disabled from freezing tokens, the function call will fail. error AgentNotAuthorized - Thrown if the agent is disabled from freezing tokens, indicating they do not have the necessary permissions to execute this function."},"setAddressFrozen(address,bool)":{"notice":"To change an address's frozen status, the calling agent must have the capability to freeze addresses enabled. If the agent is disabled from freezing addresses, the function call will fail. error AgentNotAuthorized - Thrown if the agent is disabled from freezing addresses, indicating they do not have the necessary permissions to execute this function."},"unfreezePartialTokens(address,uint256)":{"notice":"To unfreeze tokens for an address, the calling agent must have the capability to unfreeze tokens enabled. If the agent is disabled from unfreezing tokens, the function call will fail. error AgentNotAuthorized - Thrown if the agent is disabled from unfreezing tokens, indicating they do not have the necessary permissions to execute this function."}},"version":1}},"settings":{"remappings":["@forge-std/=dependencies/forge-std-1.12.0/src/","@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/","@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/","@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/","forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/","onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/token/IToken.sol":"IToken"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/ERC-3643/IERC3643.sol":{"keccak256":"0xb2d8b7bfa02fb0d46a8173f5a2d284b3934bed3c980dfa557742d1a09e480ab7","urls":["bzz-raw://5b08c0cf7a3026a70a4038be35b857e3ae2f3f2564041cb0b6fcfa0420ecfd06","dweb:/ipfs/QmQuP73uvZC7fyXVcHUKRyucfZ2vCvuEN6PPhXnjVMRZsd"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol":{"keccak256":"0xa92a2b9791e297cfc19551dd4128b62668d04b430cefc563372632964abd5f1e","urls":["bzz-raw://ac8b764ac97eb3ceaa3d82a31866b4212d9f22f6469b8ef093057042356e389e","dweb:/ipfs/QmXjdm1BuvJiAn5DKVbgNBQoD5nEjvPP4d3HaAmCNCYeWY"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643Compliance.sol":{"keccak256":"0x0c0fe341ba4c9f036d2f006fe72befd9ab4a3cdf02111b96360e4fedd5413200","urls":["bzz-raw://afb977b4a0947d599418b6997e5ca4cd4fb8604065148ec9d38f30334d580226","dweb:/ipfs/QmWmWAo6jgifG1fTCVdsuVUntMr3N8PY5BWf6z9yvVRque"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643IdentityRegistry.sol":{"keccak256":"0x498e2b56aaa6921fbb1833f348e1067206cae3a71f4458c7332bce0e6b4eec99","urls":["bzz-raw://44ad6ce8f2cb3db57f211a0cf494cb1caf8e2dbf70a28b56f458b53e208e54b6","dweb:/ipfs/QmdXDQ1uchujcGBHbde79JasuruvX3BZgwysMfaAMpVXrc"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643IdentityRegistryStorage.sol":{"keccak256":"0xd564e0e053f5ff3f2eccc7816882c1f6f638aa48045e39f4e1acd8b9c5675eda","urls":["bzz-raw://35f6f5a2dd5c9e27a3663e5a0493e9d2a10c07b1fcbb87e8989e6b5cb98c2823","dweb:/ipfs/QmVWg7znBs4hkTz6Qd1oXteAY55yvcAK1KL4u2g4bAsQRp"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol":{"keccak256":"0x778f7737e9f21d3dd32a67950209de857d402d61c812899ed3e694110d32e328","urls":["bzz-raw://3038395e2572c9ac47c352ce73d8df369886629bf524ae8dbc9b4a0d612c2129","dweb:/ipfs/Qmb58UurtCtiRBNwDnQyLJkqpw8WJG6F3siam7iHq3zvUN"],"license":"CC0-1.0"},"contracts/token/IToken.sol":{"keccak256":"0xbba7d236b8692536fa886f2afdf277796fe99469555c05f2b03609bf21c2b327","urls":["bzz-raw://d616f9497686212c8cce8cbcde047a96b7440d1035df20d7440017218d77385d","dweb:/ipfs/QmPiUSnULcdaASNf7DWHa5Dvy8RgauhnqhmJ2KP3BfisVD"],"license":"GPL-3.0"},"contracts/token/TokenStructs.sol":{"keccak256":"0x93427887d9b4c640cdfc9acab8605aaac0c7a5948283867d4c8498fe4c1b0b65","urls":["bzz-raw://9ad302fa503813e9d489319ce006b4c27262befd885c5caf324af3f25be78d78","dweb:/ipfs/Qmbo2bm9N42Gggq94ZW1ws5WbNzu4Zabr7M3CKZd9nb8MB"],"license":"GPL-3.0"},"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/IERC20.sol":{"keccak256":"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2","urls":["bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303","dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0xd6fa4088198f04eef10c5bce8a2f4d60554b7ec4b987f684393c01bf79b94d9f","urls":["bzz-raw://f95ee0bbd4dd3ac730d066ba3e785ded4565e890dbec2fa7d3b9fe3bad9d0d6e","dweb:/ipfs/QmSLr6bHkPFWT7ntj34jmwfyskpwo97T9jZUrk5sz3sdtR"],"license":"MIT"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IClaimIssuer.sol":{"keccak256":"0xfa00fab9cdae78d678041fde219784d085b13bf384f5ced1b9d672b66047d2b1","urls":["bzz-raw://16728964bed464c22f1dec8374c2b889557369825d6f3e7865024014395dbd15","dweb:/ipfs/QmWm4tYqDMPMLBnkJNTv3K6whQugXky99Voyn3Xo9fDb5S"],"license":"GPL-3.0"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC734.sol":{"keccak256":"0x039a0ff5b1531a5a0f86144416358eb20c5b5d2953b40e86e9ac2f68abff9138","urls":["bzz-raw://2697b84976059ea30fe4478b2ec0e2e56a6d9994ca7ef032c3a88fe669687293","dweb:/ipfs/QmceXGqfM81EZaVU9SoT6oVMKZ4q21QQj3pcs4LbgaRrV9"],"license":"GPL-3.0"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC735.sol":{"keccak256":"0x8331ad94717c3840dfec7d8d607bbdc520fc9d7a6bde1aca25f563d8b4a4b010","urls":["bzz-raw://52bcb40e7461232cf9e17d7180704b8ffd49dac29c37a195e416ad3fe53a9793","dweb:/ipfs/QmURLhrNs72BJB4wxU4s7vqgUEaM8DoHNeWVjnQwJZDwEL"],"license":"GPL-3.0"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IIdentity.sol":{"keccak256":"0xa3d88d2e1e62d62a8b115deaad1d9c22e106220708b448d7a5d3a7755eb31748","urls":["bzz-raw://db98a894f96cf2d815fb8c9760269c761f6ad113a76b6ae6c856a16948590895","dweb:/ipfs/QmRsSJrvmrjsDtXNGrrKTzES2Exa7h7yzyBHmKSwCArLrj"],"license":"GPL-3.0"}},"version":1},"id":43}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"addTrustedIssuer","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"contract IClaimIssuer"},{"name":"_claimTopics","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getTrustedIssuerClaimTopics","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"contract IClaimIssuer"}],"outputs":[{"name":"","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"type":"function","name":"getTrustedIssuers","inputs":[],"outputs":[{"name":"","type":"address[]","internalType":"contract IClaimIssuer[]"}],"stateMutability":"view"},{"type":"function","name":"getTrustedIssuersForClaimTopic","inputs":[{"name":"claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address[]","internalType":"contract IClaimIssuer[]"}],"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":"isTrustedIssuer","inputs":[{"name":"_issuer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"removeTrustedIssuer","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"contract IClaimIssuer"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateIssuerClaimTopics","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"contract IClaimIssuer"},{"name":"_claimTopics","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"addTrustedIssuer(address,uint256[])":"9f63ea98","getTrustedIssuerClaimTopics(address)":"c28fb278","getTrustedIssuers()":"d9dd24c5","getTrustedIssuersForClaimTopic(uint256)":"52c111d1","hasClaimTopic(address,uint256)":"34a89987","isTrustedIssuer(address)":"ef2ed1a4","removeTrustedIssuer(address)":"b93d28eb","updateIssuerClaimTopics(address,uint256[])":"04bc7e84"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IClaimIssuer\",\"name\":\"_trustedIssuer\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_claimTopics\",\"type\":\"uint256[]\"}],\"name\":\"addTrustedIssuer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IClaimIssuer\",\"name\":\"_trustedIssuer\",\"type\":\"address\"}],\"name\":\"getTrustedIssuerClaimTopics\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTrustedIssuers\",\"outputs\":[{\"internalType\":\"contract IClaimIssuer[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"getTrustedIssuersForClaimTopic\",\"outputs\":[{\"internalType\":\"contract IClaimIssuer[]\",\"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\":\"_issuer\",\"type\":\"address\"}],\"name\":\"isTrustedIssuer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IClaimIssuer\",\"name\":\"_trustedIssuer\",\"type\":\"address\"}],\"name\":\"removeTrustedIssuer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IClaimIssuer\",\"name\":\"_trustedIssuer\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_claimTopics\",\"type\":\"uint256[]\"}],\"name\":\"updateIssuerClaimTopics\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"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 This function can only be called by the owner of the Trusted Issuers Registry contract emits a `TrustedIssuerAdded` event\",\"_trustedIssuer\":\"The ClaimIssuer contract address of the trusted claim issuer.\"}},\"getTrustedIssuerClaimTopics(address)\":{\"details\":\"Function for getting all the claim topic of trusted claim issuer Requires the provided ClaimIssuer contract to be registered in the trusted issuers registry.\",\"params\":{\"_trustedIssuer\":\"the trusted issuer concerned.\"},\"returns\":{\"_0\":\"The set of claim topics that the trusted issuer is allowed to emit\"}},\"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.\"}},\"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.\"}},\"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. This function can only be called by the owner of the Trusted Issuers Registry contract emits a `TrustedIssuerRemoved` event\"}},\"updateIssuerClaimTopics(address,uint256[])\":{\"details\":\"Updates the set of claim topics that a trusted issuer is allowed to emit. 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\",\"params\":{\"_claimTopics\":\"the set of claim topics that the trusted issuer is allowed to emit This function can only be called by the owner of the Trusted Issuers Registry contract emits a `ClaimTopicsUpdated` event\",\"_trustedIssuer\":\"the claim issuer to update.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/registry/interface/ITrustedIssuersRegistry.sol\":\"ITrustedIssuersRegistry\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@forge-std/=dependencies/forge-std-1.12.0/src/\",\":@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/\",\":@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/\",\":@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/\",\":forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/\",\":onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/\"]},\"sources\":{\"contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol\":{\"keccak256\":\"0x778f7737e9f21d3dd32a67950209de857d402d61c812899ed3e694110d32e328\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://3038395e2572c9ac47c352ce73d8df369886629bf524ae8dbc9b4a0d612c2129\",\"dweb:/ipfs/Qmb58UurtCtiRBNwDnQyLJkqpw8WJG6F3siam7iHq3zvUN\"]},\"contracts/registry/interface/ITrustedIssuersRegistry.sol\":{\"keccak256\":\"0x7c5ad017a173cfd570d43a63946a3dd05e23227f2261eb7e1cd9a03c25ca3589\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://fc4b72a368ec1cadd54e1cccfbca2e5679333a484558ec7ef02d8511ff9ce945\",\"dweb:/ipfs/QmSxTjBm5pUwcbVPezqWaJgAD1HoBtGp1jNJbaf4wvL2oS\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IClaimIssuer.sol\":{\"keccak256\":\"0xfa00fab9cdae78d678041fde219784d085b13bf384f5ced1b9d672b66047d2b1\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://16728964bed464c22f1dec8374c2b889557369825d6f3e7865024014395dbd15\",\"dweb:/ipfs/QmWm4tYqDMPMLBnkJNTv3K6whQugXky99Voyn3Xo9fDb5S\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC734.sol\":{\"keccak256\":\"0x039a0ff5b1531a5a0f86144416358eb20c5b5d2953b40e86e9ac2f68abff9138\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://2697b84976059ea30fe4478b2ec0e2e56a6d9994ca7ef032c3a88fe669687293\",\"dweb:/ipfs/QmceXGqfM81EZaVU9SoT6oVMKZ4q21QQj3pcs4LbgaRrV9\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC735.sol\":{\"keccak256\":\"0x8331ad94717c3840dfec7d8d607bbdc520fc9d7a6bde1aca25f563d8b4a4b010\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://52bcb40e7461232cf9e17d7180704b8ffd49dac29c37a195e416ad3fe53a9793\",\"dweb:/ipfs/QmURLhrNs72BJB4wxU4s7vqgUEaM8DoHNeWVjnQwJZDwEL\"]},\"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IIdentity.sol\":{\"keccak256\":\"0xa3d88d2e1e62d62a8b115deaad1d9c22e106220708b448d7a5d3a7755eb31748\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://db98a894f96cf2d815fb8c9760269c761f6ad113a76b6ae6c856a16948590895\",\"dweb:/ipfs/QmRsSJrvmrjsDtXNGrrKTzES2Exa7h7yzyBHmKSwCArLrj\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"contract IClaimIssuer","name":"_trustedIssuer","type":"address"},{"internalType":"uint256[]","name":"_claimTopics","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"addTrustedIssuer"},{"inputs":[{"internalType":"contract IClaimIssuer","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":"contract IClaimIssuer[]","name":"","type":"address[]"}]},{"inputs":[{"internalType":"uint256","name":"claimTopic","type":"uint256"}],"stateMutability":"view","type":"function","name":"getTrustedIssuersForClaimTopic","outputs":[{"internalType":"contract IClaimIssuer[]","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":"_issuer","type":"address"}],"stateMutability":"view","type":"function","name":"isTrustedIssuer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"contract IClaimIssuer","name":"_trustedIssuer","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"removeTrustedIssuer"},{"inputs":[{"internalType":"contract IClaimIssuer","name":"_trustedIssuer","type":"address"},{"internalType":"uint256[]","name":"_claimTopics","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"updateIssuerClaimTopics"}],"devdoc":{"kind":"dev","methods":{"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 This function can only be called by the owner of the Trusted Issuers Registry contract emits a `TrustedIssuerAdded` event","_trustedIssuer":"The ClaimIssuer contract address of the trusted claim issuer."}},"getTrustedIssuerClaimTopics(address)":{"details":"Function for getting all the claim topic of trusted claim issuer Requires the provided ClaimIssuer contract to be registered in the trusted issuers registry.","params":{"_trustedIssuer":"the trusted issuer concerned."},"returns":{"_0":"The set of claim topics that the trusted issuer is allowed to emit"}},"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."}},"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."}},"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. This function can only be called by the owner of the Trusted Issuers Registry contract emits a `TrustedIssuerRemoved` event"}},"updateIssuerClaimTopics(address,uint256[])":{"details":"Updates the set of claim topics that a trusted issuer is allowed to emit. 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","params":{"_claimTopics":"the set of claim topics that the trusted issuer is allowed to emit This function can only be called by the owner of the Trusted Issuers Registry contract emits a `ClaimTopicsUpdated` event","_trustedIssuer":"the claim issuer to update."}}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@forge-std/=dependencies/forge-std-1.12.0/src/","@onchain-id/solidity/=dependencies/onchain-id-2.2.2-beta3/","@openzeppelin-contracts-5.6.1/=dependencies/@openzeppelin-contracts-5.6.1/","@openzeppelin-contracts-upgradeable-5.6.1/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.6.1/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.6.1/","forge-std-1.12.0/=dependencies/forge-std-1.12.0/src/","onchain-id-2.2.2-beta3/=dependencies/onchain-id-2.2.2-beta3/contracts/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/registry/interface/ITrustedIssuersRegistry.sol":"ITrustedIssuersRegistry"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol":{"keccak256":"0x778f7737e9f21d3dd32a67950209de857d402d61c812899ed3e694110d32e328","urls":["bzz-raw://3038395e2572c9ac47c352ce73d8df369886629bf524ae8dbc9b4a0d612c2129","dweb:/ipfs/Qmb58UurtCtiRBNwDnQyLJkqpw8WJG6F3siam7iHq3zvUN"],"license":"CC0-1.0"},"contracts/registry/interface/ITrustedIssuersRegistry.sol":{"keccak256":"0x7c5ad017a173cfd570d43a63946a3dd05e23227f2261eb7e1cd9a03c25ca3589","urls":["bzz-raw://fc4b72a368ec1cadd54e1cccfbca2e5679333a484558ec7ef02d8511ff9ce945","dweb:/ipfs/QmSxTjBm5pUwcbVPezqWaJgAD1HoBtGp1jNJbaf4wvL2oS"],"license":"GPL-3.0"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IClaimIssuer.sol":{"keccak256":"0xfa00fab9cdae78d678041fde219784d085b13bf384f5ced1b9d672b66047d2b1","urls":["bzz-raw://16728964bed464c22f1dec8374c2b889557369825d6f3e7865024014395dbd15","dweb:/ipfs/QmWm4tYqDMPMLBnkJNTv3K6whQugXky99Voyn3Xo9fDb5S"],"license":"GPL-3.0"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC734.sol":{"keccak256":"0x039a0ff5b1531a5a0f86144416358eb20c5b5d2953b40e86e9ac2f68abff9138","urls":["bzz-raw://2697b84976059ea30fe4478b2ec0e2e56a6d9994ca7ef032c3a88fe669687293","dweb:/ipfs/QmceXGqfM81EZaVU9SoT6oVMKZ4q21QQj3pcs4LbgaRrV9"],"license":"GPL-3.0"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IERC735.sol":{"keccak256":"0x8331ad94717c3840dfec7d8d607bbdc520fc9d7a6bde1aca25f563d8b4a4b010","urls":["bzz-raw://52bcb40e7461232cf9e17d7180704b8ffd49dac29c37a195e416ad3fe53a9793","dweb:/ipfs/QmURLhrNs72BJB4wxU4s7vqgUEaM8DoHNeWVjnQwJZDwEL"],"license":"GPL-3.0"},"dependencies/onchain-id-2.2.2-beta3/contracts/interface/IIdentity.sol":{"keccak256":"0xa3d88d2e1e62d62a8b115deaad1d9c22e106220708b448d7a5d3a7755eb31748","urls":["bzz-raw://db98a894f96cf2d815fb8c9760269c761f6ad113a76b6ae6c856a16948590895","dweb:/ipfs/QmRsSJrvmrjsDtXNGrrKTzES2Exa7h7yzyBHmKSwCArLrj"],"license":"GPL-3.0"}},"version":1},"id":37}
|