ваше сообщение коммита
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../../../build-info/29c61b08eb590d8fc12c8139671115f4.json"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"_format": "hh-sol-dbg-1",
|
||||
"buildInfo": "../../build-info/3e12480a731f7a845287f0f150241bb4.json"
|
||||
"buildInfo": "../../build-info/ae6e57b918547db576362d7ba12641eb.json"
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
460
backend/cache/solidity-files-cache.json
vendored
460
backend/cache/solidity-files-cache.json
vendored
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"_format": "hh-sol-cache-2",
|
||||
"files": {
|
||||
"/app/contracts/DLE.sol": {
|
||||
"lastModificationDate": 1755001745034,
|
||||
"contentHash": "a77cbe367dec496f574716fd50e1ef07",
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/contracts/DLE.sol": {
|
||||
"lastModificationDate": 1755277189432,
|
||||
"contentHash": "03b4ac83148b5b1246f64c54fa0e959c",
|
||||
"sourceName": "contracts/DLE.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
@@ -44,7 +44,7 @@
|
||||
"DLE"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "190613e556d509d9e9a0ea43dc5d891d",
|
||||
"sourceName": "@openzeppelin/contracts/utils/ReentrancyGuard.sol",
|
||||
@@ -81,7 +81,7 @@
|
||||
"ReentrancyGuard"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "227a6eb2225701c12d9c959b758b6333",
|
||||
"sourceName": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
||||
@@ -123,7 +123,44 @@
|
||||
"ERC20"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "81de029d56aa803972be03c5d277cb6c",
|
||||
"sourceName": "@openzeppelin/contracts/utils/cryptography/ECDSA.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"ECDSA"
|
||||
]
|
||||
},
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol": {
|
||||
"lastModificationDate": 1754306768254,
|
||||
"contentHash": "51c2083b160453420aaa0a046c16d5ca",
|
||||
"sourceName": "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol",
|
||||
@@ -164,7 +201,7 @@
|
||||
"ERC20Votes"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol": {
|
||||
"lastModificationDate": 1754306768254,
|
||||
"contentHash": "b1a8fc63b83ce00408e0c9ed1230b717",
|
||||
"sourceName": "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol",
|
||||
@@ -207,44 +244,7 @@
|
||||
"ERC20Permit"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "81de029d56aa803972be03c5d277cb6c",
|
||||
"sourceName": "@openzeppelin/contracts/utils/cryptography/ECDSA.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"ECDSA"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/Context.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/Context.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "67bfbc07588eb8683b3fd8f6f909563e",
|
||||
"sourceName": "@openzeppelin/contracts/utils/Context.sol",
|
||||
@@ -281,7 +281,7 @@
|
||||
"Context"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol": {
|
||||
"lastModificationDate": 1754306760460,
|
||||
"contentHash": "267d92fe4de67b1bdb3302c08f387dbf",
|
||||
"sourceName": "@openzeppelin/contracts/interfaces/draft-IERC6093.sol",
|
||||
@@ -320,7 +320,7 @@
|
||||
"IERC721Errors"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "8f19f64d2adadf448840908bbaf431c8",
|
||||
"sourceName": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
|
||||
@@ -357,7 +357,7 @@
|
||||
"IERC20"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol": {
|
||||
"lastModificationDate": 1754306768254,
|
||||
"contentHash": "794db3115001aa372c79326fcfd44b1f",
|
||||
"sourceName": "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol",
|
||||
@@ -396,46 +396,7 @@
|
||||
"IERC20Metadata"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/structs/Checkpoints.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "657c6dfea3bae1af948de6113ba01cea",
|
||||
"sourceName": "@openzeppelin/contracts/utils/structs/Checkpoints.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"../math/Math.sol"
|
||||
],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"Checkpoints"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/governance/utils/Votes.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/governance/utils/Votes.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "95aceafdc639babdd22576e5e3774d64",
|
||||
"sourceName": "@openzeppelin/contracts/governance/utils/Votes.sol",
|
||||
@@ -481,10 +442,10 @@
|
||||
"Votes"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/math/Math.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/structs/Checkpoints.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "2b2665ae9bdb1af440658741a77fe213",
|
||||
"sourceName": "@openzeppelin/contracts/utils/math/Math.sol",
|
||||
"contentHash": "657c6dfea3bae1af948de6113ba01cea",
|
||||
"sourceName": "@openzeppelin/contracts/utils/structs/Checkpoints.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
@@ -511,91 +472,16 @@
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"../Panic.sol",
|
||||
"./SafeCast.sol"
|
||||
"../math/Math.sol"
|
||||
],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"Math"
|
||||
"Checkpoints"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "2adca1150f58fc6f3d1f0a0f22ee7cca",
|
||||
"sourceName": "@openzeppelin/contracts/utils/math/SafeCast.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"SafeCast"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/Panic.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "2133dc13536b4a6a98131e431fac59e1",
|
||||
"sourceName": "@openzeppelin/contracts/utils/Panic.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"Panic"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/Nonces.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/Nonces.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "c32d108058718efb9061b88e83a83f79",
|
||||
"sourceName": "@openzeppelin/contracts/utils/Nonces.sol",
|
||||
@@ -632,7 +518,47 @@
|
||||
"Nonces"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/cryptography/EIP712.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/interfaces/IERC5805.sol": {
|
||||
"lastModificationDate": 1754306760460,
|
||||
"contentHash": "65ba9f89b1057e2192e341b286d4e261",
|
||||
"sourceName": "@openzeppelin/contracts/interfaces/IERC5805.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"../governance/utils/IVotes.sol",
|
||||
"./IERC6372.sol"
|
||||
],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"IERC5805"
|
||||
]
|
||||
},
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/cryptography/EIP712.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "8dbb261c55f358342798c4d1803d4f8e",
|
||||
"sourceName": "@openzeppelin/contracts/utils/cryptography/EIP712.sol",
|
||||
@@ -673,10 +599,10 @@
|
||||
"EIP712"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/interfaces/IERC5805.sol": {
|
||||
"lastModificationDate": 1754306760460,
|
||||
"contentHash": "65ba9f89b1057e2192e341b286d4e261",
|
||||
"sourceName": "@openzeppelin/contracts/interfaces/IERC5805.sol",
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "2adca1150f58fc6f3d1f0a0f22ee7cca",
|
||||
"sourceName": "@openzeppelin/contracts/utils/math/SafeCast.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
@@ -702,18 +628,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"../governance/utils/IVotes.sol",
|
||||
"./IERC6372.sol"
|
||||
],
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"IERC5805"
|
||||
"SafeCast"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/types/Time.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/types/Time.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "d83e7814a059fc1287fd765f424ce004",
|
||||
"sourceName": "@openzeppelin/contracts/utils/types/Time.sol",
|
||||
@@ -753,7 +676,81 @@
|
||||
"Time"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/interfaces/IERC5267.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "905ffceb29869fee4b5a649abe7e2927",
|
||||
"sourceName": "@openzeppelin/contracts/governance/utils/IVotes.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"IVotes"
|
||||
]
|
||||
},
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/interfaces/IERC6372.sol": {
|
||||
"lastModificationDate": 1754306760460,
|
||||
"contentHash": "414cd6acf090e4009cf016ff62ecbd88",
|
||||
"sourceName": "@openzeppelin/contracts/interfaces/IERC6372.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"IERC6372"
|
||||
]
|
||||
},
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/interfaces/IERC5267.sol": {
|
||||
"lastModificationDate": 1754306760460,
|
||||
"contentHash": "94364524cb1a39dcbc3d3afff6d8e53e",
|
||||
"sourceName": "@openzeppelin/contracts/interfaces/IERC5267.sol",
|
||||
@@ -790,7 +787,7 @@
|
||||
"IERC5267"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/ShortStrings.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/ShortStrings.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "94e7feaf138d08fb736e43ca0be9bf26",
|
||||
"sourceName": "@openzeppelin/contracts/utils/ShortStrings.sol",
|
||||
@@ -829,7 +826,7 @@
|
||||
"ShortStrings"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol": {
|
||||
"lastModificationDate": 1754306764465,
|
||||
"contentHash": "86fd93657e4e27ff76c38699e9b9fcef",
|
||||
"sourceName": "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol",
|
||||
@@ -868,7 +865,7 @@
|
||||
"MessageHashUtils"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/StorageSlot.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/StorageSlot.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "e656d64c4ce918f3d13030b91c935134",
|
||||
"sourceName": "@openzeppelin/contracts/utils/StorageSlot.sol",
|
||||
@@ -905,7 +902,7 @@
|
||||
"StorageSlot"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/Strings.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/Strings.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "a55fef2557b35bac18a1880d3c2e6740",
|
||||
"sourceName": "@openzeppelin/contracts/utils/Strings.sol",
|
||||
@@ -946,7 +943,47 @@
|
||||
"Strings"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/math/Math.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "2b2665ae9bdb1af440658741a77fe213",
|
||||
"sourceName": "@openzeppelin/contracts/utils/math/Math.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"../Panic.sol",
|
||||
"./SafeCast.sol"
|
||||
],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"Math"
|
||||
]
|
||||
},
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "ae3528afb8bdb0a7dcfba5b115ee8074",
|
||||
"sourceName": "@openzeppelin/contracts/utils/math/SignedMath.sol",
|
||||
@@ -985,10 +1022,10 @@
|
||||
"SignedMath"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/governance/utils/IVotes.sol": {
|
||||
"lastModificationDate": 1754306764456,
|
||||
"contentHash": "905ffceb29869fee4b5a649abe7e2927",
|
||||
"sourceName": "@openzeppelin/contracts/governance/utils/IVotes.sol",
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/utils/Panic.sol": {
|
||||
"lastModificationDate": 1754306760451,
|
||||
"contentHash": "2133dc13536b4a6a98131e431fac59e1",
|
||||
"sourceName": "@openzeppelin/contracts/utils/Panic.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
@@ -1019,47 +1056,10 @@
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"IVotes"
|
||||
"Panic"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/interfaces/IERC6372.sol": {
|
||||
"lastModificationDate": 1754306760460,
|
||||
"contentHash": "414cd6acf090e4009cf016ff62ecbd88",
|
||||
"sourceName": "@openzeppelin/contracts/interfaces/IERC6372.sol",
|
||||
"solcConfig": {
|
||||
"version": "0.8.20",
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"viaIR": true,
|
||||
"evmVersion": "paris",
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers",
|
||||
"metadata"
|
||||
],
|
||||
"": [
|
||||
"ast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionPragmas": [
|
||||
"^0.8.20"
|
||||
],
|
||||
"artifacts": [
|
||||
"IERC6372"
|
||||
]
|
||||
},
|
||||
"/app/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol": {
|
||||
"lastModificationDate": 1754306768254,
|
||||
"contentHash": "94ec15baf0d5df863f45b8f351937ec7",
|
||||
"sourceName": "@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol",
|
||||
@@ -1096,7 +1096,7 @@
|
||||
"IERC20Permit"
|
||||
]
|
||||
},
|
||||
"/app/contracts/FactoryDeployer.sol": {
|
||||
"/home/alex/Digital_Legal_Entity(DLE)/backend/contracts/FactoryDeployer.sol": {
|
||||
"lastModificationDate": 1754685617489,
|
||||
"contentHash": "6161bbb21af830bc05d6acd8682d9678",
|
||||
"sourceName": "contracts/FactoryDeployer.sol",
|
||||
|
||||
@@ -26,10 +26,10 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
struct DLEInfo {
|
||||
string name;
|
||||
string symbol;
|
||||
string tokenImage; // Картинка токена (base64 или URL)
|
||||
string location;
|
||||
string coordinates;
|
||||
uint256 jurisdiction;
|
||||
uint256 oktmo;
|
||||
string[] okvedCodes;
|
||||
uint256 kpp;
|
||||
uint256 creationTimestamp;
|
||||
@@ -39,10 +39,10 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
struct DLEConfig {
|
||||
string name;
|
||||
string symbol;
|
||||
string tokenImage; // Картинка токена (base64 или URL)
|
||||
string location;
|
||||
string coordinates;
|
||||
uint256 jurisdiction;
|
||||
uint256 oktmo;
|
||||
string[] okvedCodes;
|
||||
uint256 kpp;
|
||||
uint256 quorumPercentage;
|
||||
@@ -91,10 +91,10 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
event DLEInitialized(
|
||||
string name,
|
||||
string symbol,
|
||||
string tokenImage,
|
||||
string location,
|
||||
string coordinates,
|
||||
uint256 jurisdiction,
|
||||
uint256 oktmo,
|
||||
string[] okvedCodes,
|
||||
uint256 kpp,
|
||||
address tokenAddress,
|
||||
@@ -112,7 +112,7 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
event ProposalExecutionApprovedInChain(uint256 proposalId, uint256 chainId);
|
||||
event ChainAdded(uint256 chainId);
|
||||
event ChainRemoved(uint256 chainId);
|
||||
event DLEInfoUpdated(string name, string symbol, string location, string coordinates, uint256 jurisdiction, uint256 oktmo, string[] okvedCodes, uint256 kpp);
|
||||
event DLEInfoUpdated(string name, string symbol, string tokenImage, string location, string coordinates, uint256 jurisdiction, string[] okvedCodes, uint256 kpp);
|
||||
event QuorumPercentageUpdated(uint256 oldQuorumPercentage, uint256 newQuorumPercentage);
|
||||
event CurrentChainIdUpdated(uint256 oldChainId, uint256 newChainId);
|
||||
|
||||
@@ -129,10 +129,10 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
dleInfo = DLEInfo({
|
||||
name: config.name,
|
||||
symbol: config.symbol,
|
||||
tokenImage: config.tokenImage,
|
||||
location: config.location,
|
||||
coordinates: config.coordinates,
|
||||
jurisdiction: config.jurisdiction,
|
||||
oktmo: config.oktmo,
|
||||
okvedCodes: config.okvedCodes,
|
||||
kpp: config.kpp,
|
||||
creationTimestamp: block.timestamp,
|
||||
@@ -166,10 +166,10 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
emit DLEInitialized(
|
||||
config.name,
|
||||
config.symbol,
|
||||
config.tokenImage,
|
||||
config.location,
|
||||
config.coordinates,
|
||||
config.jurisdiction,
|
||||
config.oktmo,
|
||||
config.okvedCodes,
|
||||
config.kpp,
|
||||
address(this),
|
||||
@@ -509,11 +509,11 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
// Декодируем операцию
|
||||
(bytes4 selector, bytes memory data) = abi.decode(_operation, (bytes4, bytes));
|
||||
|
||||
if (selector == bytes4(keccak256("updateDLEInfo(string,string,string,string,uint256,uint256,string[],uint256)"))) {
|
||||
if (selector == bytes4(keccak256("updateDLEInfo(string,string,string,string,string,uint256,uint256,string[],uint256)"))) {
|
||||
// Операция обновления информации DLE
|
||||
(string memory name, string memory symbol, string memory location, string memory coordinates,
|
||||
uint256 jurisdiction, uint256 oktmo, string[] memory okvedCodes, uint256 kpp) = abi.decode(data, (string, string, string, string, uint256, uint256, string[], uint256));
|
||||
_updateDLEInfo(name, symbol, location, coordinates, jurisdiction, oktmo, okvedCodes, kpp);
|
||||
(string memory name, string memory symbol, string memory tokenImage, string memory location, string memory coordinates,
|
||||
uint256 jurisdiction, string[] memory okvedCodes, uint256 kpp) = abi.decode(data, (string, string, string, string, string, uint256, string[], uint256));
|
||||
_updateDLEInfo(name, symbol, tokenImage, location, coordinates, jurisdiction, okvedCodes, kpp);
|
||||
} else if (selector == bytes4(keccak256("updateQuorumPercentage(uint256)"))) {
|
||||
// Операция обновления процента кворума
|
||||
(uint256 newQuorumPercentage) = abi.decode(data, (uint256));
|
||||
@@ -550,20 +550,20 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
* @dev Обновить информацию DLE
|
||||
* @param _name Новое название
|
||||
* @param _symbol Новый символ
|
||||
* @param _tokenImage Новая картинка токена
|
||||
* @param _location Новое местонахождение
|
||||
* @param _coordinates Новые координаты
|
||||
* @param _jurisdiction Новая юрисдикция
|
||||
* @param _oktmo Новый ОКТМО
|
||||
* @param _okvedCodes Новые коды ОКВЭД
|
||||
* @param _kpp Новый КПП
|
||||
*/
|
||||
function _updateDLEInfo(
|
||||
string memory _name,
|
||||
string memory _symbol,
|
||||
string memory _tokenImage,
|
||||
string memory _location,
|
||||
string memory _coordinates,
|
||||
uint256 _jurisdiction,
|
||||
uint256 _oktmo,
|
||||
string[] memory _okvedCodes,
|
||||
uint256 _kpp
|
||||
) internal {
|
||||
@@ -571,19 +571,18 @@ contract DLE is ERC20, ERC20Permit, ERC20Votes, ReentrancyGuard {
|
||||
require(bytes(_symbol).length > 0, "Symbol cannot be empty");
|
||||
require(bytes(_location).length > 0, "Location cannot be empty");
|
||||
require(_jurisdiction > 0, "Invalid jurisdiction");
|
||||
require(_oktmo > 0, "Invalid OKTMO");
|
||||
require(_kpp > 0, "Invalid KPP");
|
||||
|
||||
dleInfo.name = _name;
|
||||
dleInfo.symbol = _symbol;
|
||||
dleInfo.tokenImage = _tokenImage;
|
||||
dleInfo.location = _location;
|
||||
dleInfo.coordinates = _coordinates;
|
||||
dleInfo.jurisdiction = _jurisdiction;
|
||||
dleInfo.oktmo = _oktmo;
|
||||
dleInfo.okvedCodes = _okvedCodes;
|
||||
dleInfo.kpp = _kpp;
|
||||
|
||||
emit DLEInfoUpdated(_name, _symbol, _location, _coordinates, _jurisdiction, _oktmo, _okvedCodes, _kpp);
|
||||
emit DLEInfoUpdated(_name, _symbol, _tokenImage, _location, _coordinates, _jurisdiction, _okvedCodes, _kpp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -39,10 +39,10 @@ async function main() {
|
||||
const dleConfig = {
|
||||
name: params.name,
|
||||
symbol: params.symbol,
|
||||
tokenImage: params.tokenImage || '',
|
||||
location: params.location,
|
||||
coordinates: params.coordinates,
|
||||
jurisdiction: params.jurisdiction,
|
||||
oktmo: params.oktmo,
|
||||
okvedCodes: params.okvedCodes || [],
|
||||
kpp: params.kpp,
|
||||
quorumPercentage: params.quorumPercentage,
|
||||
|
||||
@@ -112,7 +112,6 @@ class DLEV2Service {
|
||||
location: deployParams.location,
|
||||
coordinates: deployParams.coordinates,
|
||||
jurisdiction: deployParams.jurisdiction,
|
||||
oktmo: deployParams.oktmo,
|
||||
okvedCodes: deployParams.okvedCodes || [],
|
||||
kpp: deployParams.kpp,
|
||||
quorumPercentage: deployParams.quorumPercentage,
|
||||
@@ -225,6 +224,19 @@ class DLEV2Service {
|
||||
if (!params.supportedChainIds || !Array.isArray(params.supportedChainIds) || params.supportedChainIds.length === 0) {
|
||||
throw new Error('Должна быть выбрана хотя бы одна сеть для деплоя');
|
||||
}
|
||||
|
||||
// Проверяем размер картинки токена (если передана)
|
||||
if (params.tokenImage && params.tokenImage.trim() !== '') {
|
||||
const base64Size = params.tokenImage.length;
|
||||
if (base64Size > 350) {
|
||||
throw new Error(`Размер картинки токена превышает лимит: ${base64Size} байт. Максимальный размер: 350 байт`);
|
||||
}
|
||||
|
||||
// Проверяем, что это валидный base64
|
||||
if (!params.tokenImage.startsWith('data:image/')) {
|
||||
throw new Error('Картинка токена должна быть в формате base64 data URL');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -557,7 +569,6 @@ class DLEV2Service {
|
||||
location: params.location,
|
||||
coordinates: params.coordinates,
|
||||
jurisdiction: params.jurisdiction,
|
||||
oktmo: params.oktmo,
|
||||
okvedCodes: params.okvedCodes || [],
|
||||
kpp: params.kpp,
|
||||
quorumPercentage: params.quorumPercentage,
|
||||
@@ -732,7 +743,6 @@ class DLEV2Service {
|
||||
location: params.location,
|
||||
coordinates: params.coordinates,
|
||||
jurisdiction: params.jurisdiction,
|
||||
oktmo: params.oktmo,
|
||||
okvedCodes: params.okvedCodes || [],
|
||||
kpp: params.kpp,
|
||||
quorumPercentage: params.quorumPercentage,
|
||||
|
||||
Reference in New Issue
Block a user