@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":"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":"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":"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","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"},"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\":[],\"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\"}],\"devdoc\":{\"details\":\"Interface of the ERC-20 standard as defined in the ERC.\",\"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`.\"},\"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.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/IERC20.sol\":\"IERC20\"},\"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\":{\"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303\",\"dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV\"]}},\"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":[],"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"}]}],"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`."},"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."}},"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":{"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/IERC20.sol":"IERC20"},"evmVersion":"cancun","libraries":{}},"sources":{"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/IERC20.sol":{"keccak256":"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2","urls":["bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303","dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV"],"license":"MIT"}},"version":1},"id":69}
|
|
@@ -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":"decimals","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"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":"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","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"},"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\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"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\"}],\"devdoc\":{\"details\":\"Interface for the optional metadata functions from the ERC-20 standard.\",\"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`.\"},\"decimals()\":{\"details\":\"Returns the decimals places of the token.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"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.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Metadata.sol\":\"IERC20Metadata\"},\"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\":{\"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\"]}},\"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":[],"stateMutability":"view","type":"function","name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"name","outputs":[{"internalType":"string","name":"","type":"string"}]},{"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"}]}],"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`."},"decimals()":{"details":"Returns the decimals places of the token."},"name()":{"details":"Returns the name of the token."},"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."}},"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":{"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Metadata.sol":"IERC20Metadata"},"evmVersion":"cancun","libraries":{}},"sources":{"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"}},"version":1},"id":71}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"nonces","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"permit","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"v","type":"uint8","internalType":"uint8"},{"name":"r","type":"bytes32","internalType":"bytes32"},{"name":"s","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in https://eips.ethereum.org/EIPS/eip-2612[ERC-2612]. Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't need to send a transaction, and thus is not required to hold Ether at all. ==== Security Considerations There are two important considerations concerning the use of `permit`. The first is that a valid permit signature expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be considered as an intention to spend the allowance in any specific way. The second is that because permits have built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be generally recommended is: ```solidity function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} doThing(..., value); } function doThing(..., uint256 value) public { token.safeTransferFrom(msg.sender, address(this), value); ... } ``` Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also {SafeERC20-safeTransferFrom}). Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so contracts should have entry points that don't rely on permit.\",\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\"},\"nonces(address)\":{\"details\":\"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also applies here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Permit.sol\":\"IERC20Permit\"},\"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\":{\"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x53befc41288eaa87edcd3a7be7e8475a32e44c6a29f9bf52fae789781301d9ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a1d7fab53c4ceaf42391b83d9b36d7e9cc524a8da125cffdcd32c56560f9d1c9\",\"dweb:/ipfs/QmaRZdVhQdqNXofeimibkBG65q9GVcXVZEGpycwwX3znC6\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"view","type":"function","name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function","name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"permit"}],"devdoc":{"kind":"dev","methods":{"DOMAIN_SEPARATOR()":{"details":"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}."},"nonces(address)":{"details":"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times."},"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":{"details":"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also applies here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above."}},"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":{"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Permit.sol":"IERC20Permit"},"evmVersion":"cancun","libraries":{}},"sources":{"dependencies/@openzeppelin-contracts-5.6.1/token/ERC20/extensions/IERC20Permit.sol":{"keccak256":"0x53befc41288eaa87edcd3a7be7e8475a32e44c6a29f9bf52fae789781301d9ff","urls":["bzz-raw://a1d7fab53c4ceaf42391b83d9b36d7e9cc524a8da125cffdcd32c56560f9d1c9","dweb:/ipfs/QmaRZdVhQdqNXofeimibkBG65q9GVcXVZEGpycwwX3znC6"],"license":"MIT"}},"version":1},"id":72}
|
|
@@ -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":"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":"setCompliance","inputs":[{"name":"_compliance","type":"address","internalType":"address"}],"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":"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","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","setCompliance(address)":"f8981789","setIdentityRegistry(address)":"cbf3f861","setName(string)":"c47f0027","setOnchainID(address)":"3d1ddc5b","setSymbol(string)":"b84c8246","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\":\"_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\":\"_compliance\",\"type\":\"address\"}],\"name\":\"setCompliance\",\"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\":[],\"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.\"}},\"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.\"}},\"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\"}},\"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\"}},\"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/ERC-3643/IERC3643.sol\":\"IERC3643\"},\"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\"]},\"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":"_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":"_compliance","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setCompliance"},{"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":[],"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."}},"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."}},"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"}},"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"}},"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/ERC-3643/IERC3643.sol":"IERC3643"},"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"},"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":1}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"addClaimTopic","inputs":[{"name":"_claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getClaimTopics","inputs":[],"outputs":[{"name":"","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"type":"function","name":"removeClaimTopic","inputs":[{"name":"_claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"addClaimTopic(uint256)":"c7b22551","getClaimTopics()":"df09d604","removeClaimTopic(uint256)":"08297846"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimTopic\",\"type\":\"uint256\"}],\"name\":\"addClaimTopic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getClaimTopics\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimTopic\",\"type\":\"uint256\"}],\"name\":\"removeClaimTopic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"addClaimTopic(uint256)\":{\"details\":\"Add a trusted claim topic (For example: KYC=1, AML=2). Only owner can call. emits `ClaimTopicAdded` event cannot add more than 15 topics for 1 token as adding more could create gas issues\",\"params\":{\"_claimTopic\":\"The claim topic index\"}},\"getClaimTopics()\":{\"details\":\"Get the trusted claim topics for the security token\",\"returns\":{\"_0\":\"Array of trusted claim topics\"}},\"removeClaimTopic(uint256)\":{\"details\":\"Remove a trusted claim topic (For example: KYC=1, AML=2). Only owner can call. emits `ClaimTopicRemoved` event\",\"params\":{\"_claimTopic\":\"The claim topic index\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol\":\"IERC3643ClaimTopicsRegistry\"},\"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/IERC3643ClaimTopicsRegistry.sol\":{\"keccak256\":\"0xa92a2b9791e297cfc19551dd4128b62668d04b430cefc563372632964abd5f1e\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://ac8b764ac97eb3ceaa3d82a31866b4212d9f22f6469b8ef093057042356e389e\",\"dweb:/ipfs/QmXjdm1BuvJiAn5DKVbgNBQoD5nEjvPP4d3HaAmCNCYeWY\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_claimTopic","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"addClaimTopic"},{"inputs":[],"stateMutability":"view","type":"function","name":"getClaimTopics","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}]},{"inputs":[{"internalType":"uint256","name":"_claimTopic","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"removeClaimTopic"}],"devdoc":{"kind":"dev","methods":{"addClaimTopic(uint256)":{"details":"Add a trusted claim topic (For example: KYC=1, AML=2). Only owner can call. emits `ClaimTopicAdded` event cannot add more than 15 topics for 1 token as adding more could create gas issues","params":{"_claimTopic":"The claim topic index"}},"getClaimTopics()":{"details":"Get the trusted claim topics for the security token","returns":{"_0":"Array of trusted claim topics"}},"removeClaimTopic(uint256)":{"details":"Remove a trusted claim topic (For example: KYC=1, AML=2). Only owner can call. emits `ClaimTopicRemoved` event","params":{"_claimTopic":"The claim topic index"}}},"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/ERC-3643/IERC3643ClaimTopicsRegistry.sol":"IERC3643ClaimTopicsRegistry"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol":{"keccak256":"0xa92a2b9791e297cfc19551dd4128b62668d04b430cefc563372632964abd5f1e","urls":["bzz-raw://ac8b764ac97eb3ceaa3d82a31866b4212d9f22f6469b8ef093057042356e389e","dweb:/ipfs/QmXjdm1BuvJiAn5DKVbgNBQoD5nEjvPP4d3HaAmCNCYeWY"],"license":"CC0-1.0"}},"version":1},"id":2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"bindToken","inputs":[{"name":"_token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"canTransfer","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":"view"},{"type":"function","name":"created","inputs":[{"name":"_to","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"destroyed","inputs":[{"name":"_from","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getTokenBound","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"isTokenBound","inputs":[{"name":"_token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"transferred","inputs":[{"name":"_from","type":"address","internalType":"address"},{"name":"_to","type":"address","internalType":"address"},{"name":"_amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"unbindToken","inputs":[{"name":"_token","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"bindToken(address)":"3ff5aa02","canTransfer(address,address,uint256)":"e46638e6","created(address,uint256)":"5f8dead3","destroyed(address,uint256)":"8d2ea772","getTokenBound()":"6a3edf28","isTokenBound(address)":"993e8b95","transferred(address,address,uint256)":"8baf29b4","unbindToken(address)":"40db3b50"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"bindToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"canTransfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"created\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"destroyed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenBound\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"isTokenBound\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferred\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"unbindToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"bindToken(address)\":{\"details\":\"binds a token to the compliance contract\",\"params\":{\"_token\":\"address of the token to bind This function can be called ONLY by the owner of the compliance contract Emits a TokenBound event\"}},\"canTransfer(address,address,uint256)\":{\"details\":\"checks that the transfer is compliant. default compliance always returns true READ ONLY FUNCTION, this function cannot be used to increment counters, emit events, ...\",\"params\":{\"_amount\":\"The amount of tokens involved in the transfer This function will call moduleCheck() on every module bound to the compliance If each of the module checks return TRUE, this function will return TRUE as well returns FALSE otherwise\",\"_from\":\"The address of the sender\",\"_to\":\"The address of the receiver\"}},\"created(address,uint256)\":{\"details\":\"function called whenever tokens are created on a wallet this function can update state variables in the modules bound to the compliance these state variables being used by the module checks to decide if a transfer is compliant or not depending on the values stored in these state variables and on the parameters of the modules This function can be called ONLY by the token contract bound to the compliance\",\"params\":{\"_amount\":\"The amount of tokens involved in the minting This function calls moduleMintAction() on each module bound to the compliance contract\",\"_to\":\"The address of the receiver\"}},\"destroyed(address,uint256)\":{\"details\":\"function called whenever tokens are destroyed from a wallet this function can update state variables in the modules bound to the compliance these state variables being used by the module checks to decide if a transfer is compliant or not depending on the values stored in these state variables and on the parameters of the modules This function can be called ONLY by the token contract bound to the compliance\",\"params\":{\"_amount\":\"The amount of tokens involved in the burn This function calls moduleBurnAction() on each module bound to the compliance contract\",\"_from\":\"The address on which tokens are burnt\"}},\"getTokenBound()\":{\"details\":\"getter for the address of the token bound returns the address of the token\"},\"transferred(address,address,uint256)\":{\"details\":\"function called whenever tokens are transferred from one wallet to another this function can update state variables in the modules bound to the compliance these state variables being used by the module checks to decide if a transfer is compliant or not depending on the values stored in these state variables and on the parameters of the modules This function can be called ONLY by the token contract bound to the compliance\",\"params\":{\"_amount\":\"The amount of tokens involved in the transfer This function calls moduleTransferAction() on each module bound to the compliance contract\",\"_from\":\"The address of the sender\",\"_to\":\"The address of the receiver\"}},\"unbindToken(address)\":{\"details\":\"unbinds a token from the compliance contract\",\"params\":{\"_token\":\"address of the token to unbind This function can be called ONLY by the owner of the compliance contract Emits a TokenUnbound event\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"isTokenBound(address)\":{\"notice\":\"check the parameters of the compliance contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ERC-3643/IERC3643Compliance.sol\":\"IERC3643Compliance\"},\"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/IERC3643Compliance.sol\":{\"keccak256\":\"0x0c0fe341ba4c9f036d2f006fe72befd9ab4a3cdf02111b96360e4fedd5413200\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://afb977b4a0947d599418b6997e5ca4cd4fb8604065148ec9d38f30334d580226\",\"dweb:/ipfs/QmWmWAo6jgifG1fTCVdsuVUntMr3N8PY5BWf6z9yvVRque\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"bindToken"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"view","type":"function","name":"canTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"created"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"destroyed"},{"inputs":[],"stateMutability":"view","type":"function","name":"getTokenBound","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"view","type":"function","name":"isTokenBound","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transferred"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"unbindToken"}],"devdoc":{"kind":"dev","methods":{"bindToken(address)":{"details":"binds a token to the compliance contract","params":{"_token":"address of the token to bind This function can be called ONLY by the owner of the compliance contract Emits a TokenBound event"}},"canTransfer(address,address,uint256)":{"details":"checks that the transfer is compliant. default compliance always returns true READ ONLY FUNCTION, this function cannot be used to increment counters, emit events, ...","params":{"_amount":"The amount of tokens involved in the transfer This function will call moduleCheck() on every module bound to the compliance If each of the module checks return TRUE, this function will return TRUE as well returns FALSE otherwise","_from":"The address of the sender","_to":"The address of the receiver"}},"created(address,uint256)":{"details":"function called whenever tokens are created on a wallet this function can update state variables in the modules bound to the compliance these state variables being used by the module checks to decide if a transfer is compliant or not depending on the values stored in these state variables and on the parameters of the modules This function can be called ONLY by the token contract bound to the compliance","params":{"_amount":"The amount of tokens involved in the minting This function calls moduleMintAction() on each module bound to the compliance contract","_to":"The address of the receiver"}},"destroyed(address,uint256)":{"details":"function called whenever tokens are destroyed from a wallet this function can update state variables in the modules bound to the compliance these state variables being used by the module checks to decide if a transfer is compliant or not depending on the values stored in these state variables and on the parameters of the modules This function can be called ONLY by the token contract bound to the compliance","params":{"_amount":"The amount of tokens involved in the burn This function calls moduleBurnAction() on each module bound to the compliance contract","_from":"The address on which tokens are burnt"}},"getTokenBound()":{"details":"getter for the address of the token bound returns the address of the token"},"transferred(address,address,uint256)":{"details":"function called whenever tokens are transferred from one wallet to another this function can update state variables in the modules bound to the compliance these state variables being used by the module checks to decide if a transfer is compliant or not depending on the values stored in these state variables and on the parameters of the modules This function can be called ONLY by the token contract bound to the compliance","params":{"_amount":"The amount of tokens involved in the transfer This function calls moduleTransferAction() on each module bound to the compliance contract","_from":"The address of the sender","_to":"The address of the receiver"}},"unbindToken(address)":{"details":"unbinds a token from the compliance contract","params":{"_token":"address of the token to unbind This function can be called ONLY by the owner of the compliance contract Emits a TokenUnbound event"}}},"version":1},"userdoc":{"kind":"user","methods":{"isTokenBound(address)":{"notice":"check the parameters of the compliance 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/ERC-3643/IERC3643Compliance.sol":"IERC3643Compliance"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/ERC-3643/IERC3643Compliance.sol":{"keccak256":"0x0c0fe341ba4c9f036d2f006fe72befd9ab4a3cdf02111b96360e4fedd5413200","urls":["bzz-raw://afb977b4a0947d599418b6997e5ca4cd4fb8604065148ec9d38f30334d580226","dweb:/ipfs/QmWmWAo6jgifG1fTCVdsuVUntMr3N8PY5BWf6z9yvVRque"],"license":"CC0-1.0"}},"version":1},"id":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"batchRegisterIdentity","inputs":[{"name":"_userAddresses","type":"address[]","internalType":"address[]"},{"name":"_identities","type":"address[]","internalType":"contract IIdentity[]"},{"name":"_countries","type":"uint16[]","internalType":"uint16[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"contains","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"deleteIdentity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"identity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"address","internalType":"contract IIdentity"}],"stateMutability":"view"},{"type":"function","name":"identityStorage","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643IdentityRegistryStorage"}],"stateMutability":"view"},{"type":"function","name":"investorCountry","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"type":"function","name":"isVerified","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"issuersRegistry","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643TrustedIssuersRegistry"}],"stateMutability":"view"},{"type":"function","name":"registerIdentity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_identity","type":"address","internalType":"contract IIdentity"},{"name":"_country","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setClaimTopicsRegistry","inputs":[{"name":"_claimTopicsRegistry","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setIdentityRegistryStorage","inputs":[{"name":"_identityRegistryStorage","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setTrustedIssuersRegistry","inputs":[{"name":"_trustedIssuersRegistry","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"topicsRegistry","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643ClaimTopicsRegistry"}],"stateMutability":"view"},{"type":"function","name":"updateCountry","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_country","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateIdentity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_identity","type":"address","internalType":"contract IIdentity"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"batchRegisterIdentity(address[],address[],uint16[])":"653dc9f1","contains(address)":"5dbe47e8","deleteIdentity(address)":"a8d29d1d","identity(address)":"f0eb5e54","identityStorage()":"f11abfd8","investorCountry(address)":"7e42683b","isVerified(address)":"b9209e33","issuersRegistry()":"b4f3fcb7","registerIdentity(address,address,uint16)":"454a03e0","setClaimTopicsRegistry(address)":"670af6a9","setIdentityRegistryStorage(address)":"26d941ae","setTrustedIssuersRegistry(address)":"e744d789","topicsRegistry()":"3b3e12f4","updateCountry(address,uint16)":"3b239a7f","updateIdentity(address,address)":"8e098ca1"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_userAddresses\",\"type\":\"address[]\"},{\"internalType\":\"contract IIdentity[]\",\"name\":\"_identities\",\"type\":\"address[]\"},{\"internalType\":\"uint16[]\",\"name\":\"_countries\",\"type\":\"uint16[]\"}],\"name\":\"batchRegisterIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"contains\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"deleteIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"identity\",\"outputs\":[{\"internalType\":\"contract IIdentity\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"identityStorage\",\"outputs\":[{\"internalType\":\"contract IERC3643IdentityRegistryStorage\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"investorCountry\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"isVerified\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"issuersRegistry\",\"outputs\":[{\"internalType\":\"contract IERC3643TrustedIssuersRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"contract IIdentity\",\"name\":\"_identity\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_country\",\"type\":\"uint16\"}],\"name\":\"registerIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_claimTopicsRegistry\",\"type\":\"address\"}],\"name\":\"setClaimTopicsRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_identityRegistryStorage\",\"type\":\"address\"}],\"name\":\"setIdentityRegistryStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustedIssuersRegistry\",\"type\":\"address\"}],\"name\":\"setTrustedIssuersRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"topicsRegistry\",\"outputs\":[{\"internalType\":\"contract IERC3643ClaimTopicsRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_country\",\"type\":\"uint16\"}],\"name\":\"updateCountry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"contract IIdentity\",\"name\":\"_identity\",\"type\":\"address\"}],\"name\":\"updateIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"batchRegisterIdentity(address[],address[],uint16[])\":{\"details\":\"function allowing to register identities in batch This function can only be called by a wallet set as agent of the smart contract Requires that none of the users has an identity contract already registered. IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH, USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN \\\"OUT OF GAS\\\" TRANSACTION\",\"params\":{\"_countries\":\"The countries of the corresponding investors emits _userAddresses.length `IdentityRegistered` events\",\"_identities\":\"The addresses of the corresponding identity contracts\",\"_userAddresses\":\"The addresses of the users\"}},\"contains(address)\":{\"details\":\"This functions checks whether a wallet has its Identity registered or not in the Identity Registry.\",\"params\":{\"_userAddress\":\"The address of the user to be checked.\"},\"returns\":{\"_0\":\"'True' if the address is contained in the Identity Registry, 'false' if not.\"}},\"deleteIdentity(address)\":{\"details\":\"Removes an user from the identity registry. Requires that the user have an identity contract already deployed that will be deleted. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_userAddress\":\"The address of the user to be removed emits `IdentityRemoved` event\"}},\"identity(address)\":{\"details\":\"Returns the onchainID of an investor.\",\"params\":{\"_userAddress\":\"The wallet of the investor\"}},\"identityStorage()\":{\"details\":\"Returns the IdentityRegistryStorage linked to the current IdentityRegistry.\"},\"investorCountry(address)\":{\"details\":\"Returns the country code of an investor.\",\"params\":{\"_userAddress\":\"The wallet of the investor\"}},\"isVerified(address)\":{\"details\":\"This functions checks whether an identity contract corresponding to the provided user address has the required claims or not based on the data fetched from trusted issuers registry and from the claim topics registry\",\"params\":{\"_userAddress\":\"The address of the user to be verified.\"},\"returns\":{\"_0\":\"'True' if the address is verified, 'false' if not.\"}},\"issuersRegistry()\":{\"details\":\"Returns the TrustedIssuersRegistry linked to the current IdentityRegistry.\"},\"registerIdentity(address,address,uint16)\":{\"details\":\"Register an identity contract corresponding to a user address. Requires that the user doesn't have an identity contract already registered. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_country\":\"The country of the investor emits `IdentityRegistered` event\",\"_identity\":\"The address of the user's identity contract\",\"_userAddress\":\"The address of the user\"}},\"setClaimTopicsRegistry(address)\":{\"details\":\"Replace the actual claimTopicsRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract\",\"params\":{\"_claimTopicsRegistry\":\"The address of the new claim Topics Registry emits `ClaimTopicsRegistrySet` event\"}},\"setIdentityRegistryStorage(address)\":{\"details\":\"Replace the actual identityRegistryStorage contract with a new one. This function can only be called by the wallet set as owner of the smart contract\",\"params\":{\"_identityRegistryStorage\":\"The address of the new Identity Registry Storage emits `IdentityStorageSet` event\"}},\"setTrustedIssuersRegistry(address)\":{\"details\":\"Replace the actual trustedIssuersRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract\",\"params\":{\"_trustedIssuersRegistry\":\"The address of the new Trusted Issuers Registry emits `TrustedIssuersRegistrySet` event\"}},\"topicsRegistry()\":{\"details\":\"Returns the ClaimTopicsRegistry linked to the current IdentityRegistry.\"},\"updateCountry(address,uint16)\":{\"details\":\"Updates the country corresponding to a user address. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_country\":\"The new country of the user emits `CountryUpdated` event\",\"_userAddress\":\"The address of the user\"}},\"updateIdentity(address,address)\":{\"details\":\"Updates an identity contract corresponding to a user address. Requires that the user address should be the owner of the identity contract. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_identity\":\"The address of the user's new identity contract emits `IdentityUpdated` event\",\"_userAddress\":\"The address of the user\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ERC-3643/IERC3643IdentityRegistry.sol\":\"IERC3643IdentityRegistry\"},\"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/IERC3643ClaimTopicsRegistry.sol\":{\"keccak256\":\"0xa92a2b9791e297cfc19551dd4128b62668d04b430cefc563372632964abd5f1e\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://ac8b764ac97eb3ceaa3d82a31866b4212d9f22f6469b8ef093057042356e389e\",\"dweb:/ipfs/QmXjdm1BuvJiAn5DKVbgNBQoD5nEjvPP4d3HaAmCNCYeWY\"]},\"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\"]},\"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":"_userAddresses","type":"address[]"},{"internalType":"contract IIdentity[]","name":"_identities","type":"address[]"},{"internalType":"uint16[]","name":"_countries","type":"uint16[]"}],"stateMutability":"nonpayable","type":"function","name":"batchRegisterIdentity"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"contains","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"deleteIdentity"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"identity","outputs":[{"internalType":"contract IIdentity","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"identityStorage","outputs":[{"internalType":"contract IERC3643IdentityRegistryStorage","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"investorCountry","outputs":[{"internalType":"uint16","name":"","type":"uint16"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isVerified","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"issuersRegistry","outputs":[{"internalType":"contract IERC3643TrustedIssuersRegistry","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"contract IIdentity","name":"_identity","type":"address"},{"internalType":"uint16","name":"_country","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"registerIdentity"},{"inputs":[{"internalType":"address","name":"_claimTopicsRegistry","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setClaimTopicsRegistry"},{"inputs":[{"internalType":"address","name":"_identityRegistryStorage","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setIdentityRegistryStorage"},{"inputs":[{"internalType":"address","name":"_trustedIssuersRegistry","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setTrustedIssuersRegistry"},{"inputs":[],"stateMutability":"view","type":"function","name":"topicsRegistry","outputs":[{"internalType":"contract IERC3643ClaimTopicsRegistry","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint16","name":"_country","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"updateCountry"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"contract IIdentity","name":"_identity","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"updateIdentity"}],"devdoc":{"kind":"dev","methods":{"batchRegisterIdentity(address[],address[],uint16[])":{"details":"function allowing to register identities in batch This function can only be called by a wallet set as agent of the smart contract Requires that none of the users has an identity contract already registered. IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH, USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN \"OUT OF GAS\" TRANSACTION","params":{"_countries":"The countries of the corresponding investors emits _userAddresses.length `IdentityRegistered` events","_identities":"The addresses of the corresponding identity contracts","_userAddresses":"The addresses of the users"}},"contains(address)":{"details":"This functions checks whether a wallet has its Identity registered or not in the Identity Registry.","params":{"_userAddress":"The address of the user to be checked."},"returns":{"_0":"'True' if the address is contained in the Identity Registry, 'false' if not."}},"deleteIdentity(address)":{"details":"Removes an user from the identity registry. Requires that the user have an identity contract already deployed that will be deleted. This function can only be called by a wallet set as agent of the smart contract","params":{"_userAddress":"The address of the user to be removed emits `IdentityRemoved` event"}},"identity(address)":{"details":"Returns the onchainID of an investor.","params":{"_userAddress":"The wallet of the investor"}},"identityStorage()":{"details":"Returns the IdentityRegistryStorage linked to the current IdentityRegistry."},"investorCountry(address)":{"details":"Returns the country code of an investor.","params":{"_userAddress":"The wallet of the investor"}},"isVerified(address)":{"details":"This functions checks whether an identity contract corresponding to the provided user address has the required claims or not based on the data fetched from trusted issuers registry and from the claim topics registry","params":{"_userAddress":"The address of the user to be verified."},"returns":{"_0":"'True' if the address is verified, 'false' if not."}},"issuersRegistry()":{"details":"Returns the TrustedIssuersRegistry linked to the current IdentityRegistry."},"registerIdentity(address,address,uint16)":{"details":"Register an identity contract corresponding to a user address. Requires that the user doesn't have an identity contract already registered. This function can only be called by a wallet set as agent of the smart contract","params":{"_country":"The country of the investor emits `IdentityRegistered` event","_identity":"The address of the user's identity contract","_userAddress":"The address of the user"}},"setClaimTopicsRegistry(address)":{"details":"Replace the actual claimTopicsRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract","params":{"_claimTopicsRegistry":"The address of the new claim Topics Registry emits `ClaimTopicsRegistrySet` event"}},"setIdentityRegistryStorage(address)":{"details":"Replace the actual identityRegistryStorage contract with a new one. This function can only be called by the wallet set as owner of the smart contract","params":{"_identityRegistryStorage":"The address of the new Identity Registry Storage emits `IdentityStorageSet` event"}},"setTrustedIssuersRegistry(address)":{"details":"Replace the actual trustedIssuersRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract","params":{"_trustedIssuersRegistry":"The address of the new Trusted Issuers Registry emits `TrustedIssuersRegistrySet` event"}},"topicsRegistry()":{"details":"Returns the ClaimTopicsRegistry linked to the current IdentityRegistry."},"updateCountry(address,uint16)":{"details":"Updates the country corresponding to a user address. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract","params":{"_country":"The new country of the user emits `CountryUpdated` event","_userAddress":"The address of the user"}},"updateIdentity(address,address)":{"details":"Updates an identity contract corresponding to a user address. Requires that the user address should be the owner of the identity contract. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract","params":{"_identity":"The address of the user's new identity contract emits `IdentityUpdated` event","_userAddress":"The address of the user"}}},"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/ERC-3643/IERC3643IdentityRegistry.sol":"IERC3643IdentityRegistry"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol":{"keccak256":"0xa92a2b9791e297cfc19551dd4128b62668d04b430cefc563372632964abd5f1e","urls":["bzz-raw://ac8b764ac97eb3ceaa3d82a31866b4212d9f22f6469b8ef093057042356e389e","dweb:/ipfs/QmXjdm1BuvJiAn5DKVbgNBQoD5nEjvPP4d3HaAmCNCYeWY"],"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"},"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":4}
|