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(collateral-contract): adds a authorized sender role to block sen… #26

Conversation

ColePBryan
Copy link
Contributor

@ColePBryan ColePBryan commented Jul 19, 2023

…der actions for unauthorized addresses

NOTE: This should will not be merged until a decision is made regarding senders (gateways) being open-access or whitelisted. The main branch is currently open-access and this branch would add whitelisting instead.

@ColePBryan ColePBryan requested a review from tmigone July 19, 2023 19:09
@ColePBryan ColePBryan linked an issue Jul 19, 2023 that may be closed by this pull request
@ColePBryan ColePBryan self-assigned this Jul 19, 2023
@ColePBryan ColePBryan force-pushed the 23-add-an-allow-list-for-senders-controlled-through-a-governance branch 2 times, most recently from d89491e to f6b0f06 Compare July 19, 2023 22:28
Copy link
Collaborator

@aasseman aasseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I'll wait for @tmigone

@ColePBryan ColePBryan marked this pull request as draft July 20, 2023 15:49
@aasseman aasseman force-pushed the 23-add-an-allow-list-for-senders-controlled-through-a-governance branch from 0e4ec7d to 087773f Compare July 21, 2023 21:21
@ColePBryan ColePBryan force-pushed the 23-add-an-allow-list-for-senders-controlled-through-a-governance branch 2 times, most recently from a439f97 to 4806480 Compare July 24, 2023 15:46
Comment on lines 15 to 22
* @dev This contract allows `senders` who are whitelisted to deposit collateral for specific `receivers`,
* which can later be redeemed using Receipt Aggregate Vouchers (`RAV`) signed
* by an authorized `signer`. `Senders` can deposit collateral for `receivers`,
* authorize `signers` to create signed `RAVs`, and withdraw collateral after a
* set `thawingPeriod` number of seconds. `Receivers` can redeem signed `RAVs` to
* claim collateral.
* @notice This contract uses the `TAPVerifier` contract for recovering signer addresses
* from `RAVs`.
* from `RAVs`. AccessControlDefaultAdminRules is used for managing sender authorization.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, taking those changes and porting them to GIP. Thanks @ColePBryan 👍

…der actions for unauthorized addresses

Signed-off-by: Bryan Cole <bryan.cole@semiotic.ai>
…trol changes

Signed-off-by: Bryan Cole <bryan.cole@semiotic.ai>
@ColePBryan ColePBryan force-pushed the 23-add-an-allow-list-for-senders-controlled-through-a-governance branch from 4806480 to 7f663fb Compare August 1, 2023 18:38
@ColePBryan
Copy link
Contributor Author

Closing as not needed/ won't merge

@ColePBryan ColePBryan closed this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an allow list for senders controlled through a governance
4 participants