Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Web3mail & dataProtector integration #131

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a5637bf
mailform & dataprotector
Torof Jun 25, 2024
509e0a5
dataprotector codeblock
Torof Jun 26, 2024
d4dfc12
protect + subscribe & cancel
Torof Jun 27, 2024
1c2c931
fixing getGrantedAccess
Torof Jun 28, 2024
7142cd1
feat(web3mail): create POST,GET routes for protected data address store
cyrilcolinet Jun 28, 2024
7f6ac96
fix: remove double acceptance
cyrilcolinet Jun 28, 2024
f8ef82d
chore: remove lock file
cyrilcolinet Jun 28, 2024
d67527a
getAcces, subscribe + unsuscribe
Torof Jun 29, 2024
5c5778d
working dataProtection + grantAccess. building sendmail
Torof Jun 30, 2024
9239691
ready
Torof Jun 30, 2024
8c03a4b
sendmail only or ledgity addres
Torof Jul 1, 2024
263615e
restric send mail + fix dropdown
Torof Jul 1, 2024
a90aad9
Merge branch 'web3mail' into web3mail-server-impl
Torof Jul 2, 2024
4645e55
Merge pull request #1 from Torof/web3mail-server-impl
Torof Jul 2, 2024
3bd316f
feat(web3 data protection and mail): adding anonymous protection of d…
Torof Jul 2, 2024
39b2ce7
style(styling and formatting address displays): addresses weren't cen…
Torof Jul 5, 2024
a3e62d2
implementing back for email batch
Torof Jul 5, 2024
77064d1
save before integrating secrets
Torof Jul 9, 2024
7c07a87
cleaned
Torof Jul 13, 2024
c7815b5
feat: add bull for iexec batch email send
cyrilcolinet Jul 15, 2024
3018930
feat: add bull for iexec batch email send
cyrilcolinet Jul 15, 2024
bbc302e
Merge pull request #2 from Torof/web3mail-queue
Torof Jul 17, 2024
503e993
fix: polyfill node-fetch package
cyrilcolinet Jul 18, 2024
d83a368
fix: add the use of __dirname in webpack
cyrilcolinet Jul 18, 2024
4b3e946
fix: add the use of __dirname in webpack #2
cyrilcolinet Jul 18, 2024
d267336
Update next.config.mjs
cyrilcolinet Jul 29, 2024
154faa6
Update next.config.mjs
cyrilcolinet Jul 29, 2024
aa0b981
fix: fix issue on batch email send
cyrilcolinet Aug 2, 2024
4b586dd
chore: add web3mail with local queue
cyrilcolinet Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,272 changes: 2,231 additions & 41 deletions contracts/deployments.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions contracts/hardhat/deployments/localhost/APRHistory.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions contracts/hardhat/deployments/localhost/GlobalBlacklist.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@
"transactionIndex": 0,
"gasUsed": "332581",
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000002000000000240000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000080400000000000000000000000000000000000000000020000000000000000000040000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xac1729c1d4569c328ceb47a1ca47e5109c720d0a9f1a2389ae8997fba990784a",
"blockHash": "0xc5545ff567023712aca3adb08ea16a998cd4003e318cd0a21d539b3c9f8b4bf0",
"transactionHash": "0xaee795c43b7a10f17952d609bd43b93152e955c2fa1993abf9cfc84351844bd5",
"logs": [
{
Expand All @@ -299,7 +299,7 @@
],
"data": "0x",
"logIndex": 0,
"blockHash": "0xac1729c1d4569c328ceb47a1ca47e5109c720d0a9f1a2389ae8997fba990784a"
"blockHash": "0xc5545ff567023712aca3adb08ea16a998cd4003e318cd0a21d539b3c9f8b4bf0"
},
{
"transactionIndex": 0,
Expand All @@ -311,7 +311,7 @@
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 1,
"blockHash": "0xac1729c1d4569c328ceb47a1ca47e5109c720d0a9f1a2389ae8997fba990784a"
"blockHash": "0xc5545ff567023712aca3adb08ea16a998cd4003e318cd0a21d539b3c9f8b4bf0"
}
],
"blockNumber": 6,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"transactionIndex": 0,
"gasUsed": "332581",
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000002000000000240000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000080400000000000000000000000000000000000000000020000000000000000000040000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xac1729c1d4569c328ceb47a1ca47e5109c720d0a9f1a2389ae8997fba990784a",
"blockHash": "0xc5545ff567023712aca3adb08ea16a998cd4003e318cd0a21d539b3c9f8b4bf0",
"transactionHash": "0xaee795c43b7a10f17952d609bd43b93152e955c2fa1993abf9cfc84351844bd5",
"logs": [
{
Expand All @@ -93,7 +93,7 @@
],
"data": "0x",
"logIndex": 0,
"blockHash": "0xac1729c1d4569c328ceb47a1ca47e5109c720d0a9f1a2389ae8997fba990784a"
"blockHash": "0xc5545ff567023712aca3adb08ea16a998cd4003e318cd0a21d539b3c9f8b4bf0"
},
{
"transactionIndex": 0,
Expand All @@ -105,7 +105,7 @@
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 1,
"blockHash": "0xac1729c1d4569c328ceb47a1ca47e5109c720d0a9f1a2389ae8997fba990784a"
"blockHash": "0xc5545ff567023712aca3adb08ea16a998cd4003e318cd0a21d539b3c9f8b4bf0"
}
],
"blockNumber": 6,
Expand Down
22 changes: 11 additions & 11 deletions contracts/hardhat/deployments/localhost/GlobalOwner.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,34 +226,34 @@
"type": "constructor"
}
],
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"receipt": {
"to": null,
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"contractAddress": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"transactionIndex": 0,
"gasUsed": "335746",
"gasUsed": "335812",
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000002000001000000000000000000000000000000000000020000000000000100800800000004000000000000000000000000400000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000020000000200000000000041000000000002008000000000000000020000000000000000000000000000000000000000000000000800000000000000000",
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2",
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"logs": [
{
"transactionIndex": 0,
"blockNumber": 2,
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x0000000000000000000000005fbdb2315678afecb367f032d93f642f64180aa3"
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2"
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485"
},
{
"transactionIndex": 0,
"blockNumber": 2,
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
Expand All @@ -262,23 +262,23 @@
],
"data": "0x",
"logIndex": 1,
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2"
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485"
},
{
"transactionIndex": 0,
"blockNumber": 2,
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"topics": [
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 2,
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2"
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485"
}
],
"blockNumber": 2,
"cumulativeGasUsed": "335746",
"cumulativeGasUsed": "335812",
"status": 1,
"byzantium": true
},
Expand Down

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions contracts/hardhat/deployments/localhost/GlobalOwner_Proxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,34 +71,34 @@
"type": "receive"
}
],
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"receipt": {
"to": null,
"from": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"contractAddress": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"transactionIndex": 0,
"gasUsed": "335746",
"gasUsed": "335812",
"logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000002000001000000000000000000000000000000000000020000000000000100800800000004000000000000000000000000400000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000020000000200000000000041000000000002008000000000000000020000000000000000000000000000000000000000000000000800000000000000000",
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2",
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"logs": [
{
"transactionIndex": 0,
"blockNumber": 2,
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"topics": [
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
"0x0000000000000000000000005fbdb2315678afecb367f032d93f642f64180aa3"
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2"
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485"
},
{
"transactionIndex": 0,
"blockNumber": 2,
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
Expand All @@ -107,23 +107,23 @@
],
"data": "0x",
"logIndex": 1,
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2"
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485"
},
{
"transactionIndex": 0,
"blockNumber": 2,
"transactionHash": "0x067b5a384834e714e5876cb84045bb71a643ba0e765a789a33d142522ef51d3a",
"transactionHash": "0xb721470203ba8177e8d1fbb703674a75e1a9560d0d0c4c81f7986842bc82cd56",
"address": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
"topics": [
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 2,
"blockHash": "0x3a956c204a764f665477bca6be776ac7733f394babca203277e647a22099a8d2"
"blockHash": "0xf9f4849150ce863e2bde949c4aa725cdfc9d352a30dd576a328afd1efadb8485"
}
],
"blockNumber": 2,
"cumulativeGasUsed": "335746",
"cumulativeGasUsed": "335812",
"status": 1,
"byzantium": true
},
Expand Down
6 changes: 3 additions & 3 deletions contracts/hardhat/deployments/localhost/GlobalPause.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
"transactionIndex": 0,
"gasUsed": "335171",
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000400000000080000400000000000000000000000000001000000000000000000000000000002000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x4521c72e4bc4e88add0835368b204df33fcbdf6ad2e07c97199f59dc7a964dfc",
"blockHash": "0x1e7029db8265a817cf18a1ba236a5ca11190ebd149a5e54216ca525ffeef15e1",
"transactionHash": "0x5553bb49f49e690220e8077b3bf6fd1f8a403d84d29402f881adf2be52fd542f",
"logs": [
{
Expand All @@ -281,7 +281,7 @@
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x4521c72e4bc4e88add0835368b204df33fcbdf6ad2e07c97199f59dc7a964dfc"
"blockHash": "0x1e7029db8265a817cf18a1ba236a5ca11190ebd149a5e54216ca525ffeef15e1"
},
{
"transactionIndex": 0,
Expand All @@ -293,7 +293,7 @@
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 1,
"blockHash": "0x4521c72e4bc4e88add0835368b204df33fcbdf6ad2e07c97199f59dc7a964dfc"
"blockHash": "0x1e7029db8265a817cf18a1ba236a5ca11190ebd149a5e54216ca525ffeef15e1"
}
],
"blockNumber": 4,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"transactionIndex": 0,
"gasUsed": "335171",
"logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000400000000080000400000000000000000000000000001000000000000000000000000000002000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000080000000000000000000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x4521c72e4bc4e88add0835368b204df33fcbdf6ad2e07c97199f59dc7a964dfc",
"blockHash": "0x1e7029db8265a817cf18a1ba236a5ca11190ebd149a5e54216ca525ffeef15e1",
"transactionHash": "0x5553bb49f49e690220e8077b3bf6fd1f8a403d84d29402f881adf2be52fd542f",
"logs": [
{
Expand All @@ -93,7 +93,7 @@
],
"data": "0x",
"logIndex": 0,
"blockHash": "0x4521c72e4bc4e88add0835368b204df33fcbdf6ad2e07c97199f59dc7a964dfc"
"blockHash": "0x1e7029db8265a817cf18a1ba236a5ca11190ebd149a5e54216ca525ffeef15e1"
},
{
"transactionIndex": 0,
Expand All @@ -105,7 +105,7 @@
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"logIndex": 1,
"blockHash": "0x4521c72e4bc4e88add0835368b204df33fcbdf6ad2e07c97199f59dc7a964dfc"
"blockHash": "0x1e7029db8265a817cf18a1ba236a5ca11190ebd149a5e54216ca525ffeef15e1"
}
],
"blockNumber": 4,
Expand Down
Loading