-
Notifications
You must be signed in to change notification settings - Fork 5
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
[BOOST-5262] feat(sdk): TransparentBudget implementation #421
[BOOST-5262] feat(sdk): TransparentBudget implementation #421
Conversation
An owner of a boost deployed from a Transparent budget can clawback the funds of an active boost, but they must call the interface directly. It is possible to allow for EIP-712 signed clawbacks submitted by another address, but it's probably more important to get back to automations asap.
This library is for testing only and has no direct impact on deployed source code.
🦋 Changeset detectedLatest commit: 698846c The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR 💥 An error occurred when fetching the changed packages and changesets in this PR
|
1 similar comment
…st-on-a-transparent-budget
test/src/helpers.ts
Outdated
export function fundTransparentBudget( | ||
options: DeployableTestOptions, | ||
fixtures: Fixtures, | ||
budget?: ManagedBudget, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
budget?: ManagedBudget, | |
budget?: TransparentBudget, |
test/src/helpers.ts
Outdated
// }); | ||
|
||
return { budget, erc20, erc1155, points } as BudgetFixtures & { | ||
budget: ManagedBudget; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
budget: ManagedBudget; | |
budget: TransparentBudget; |
Left some suggested changes to fix the type errors. |
1 similar comment
…st-on-a-transparent-budget
@@ -0,0 +1,5 @@ | |||
--- | |||
"@boostxyz/sdk": minor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we also want to open up a changeset against evm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't publish evm so it doesn't really matter, also this pr doesn't alter contract logic
) { | ||
return async function freshTransparentBudget() { | ||
const budget = new fixtures.bases.TransparentBudget(options); | ||
await budget.deploy(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// @ ts-ignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Description
basic transparent budget implementation
additional
BoostCore.createBoost
methods to support new creation methodtsdoc, basic boost creation tests
still needs mintlify documentation
💔 Thank you!