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

balance pool setup #154

Merged
merged 6 commits into from
Aug 17, 2020
Merged

balance pool setup #154

merged 6 commits into from
Aug 17, 2020

Conversation

0x3bfc
Copy link

@0x3bfc 0x3bfc commented Aug 14, 2020

closes #140

@0x3bfc 0x3bfc self-assigned this Aug 14, 2020
@0x3bfc 0x3bfc added Status: DoNotMerge Don't merge this PR Status: InProgress Work in progress, don't merge labels Aug 14, 2020
@0x3bfc 0x3bfc added Feature and removed Status: DoNotMerge Don't merge this PR Status: InProgress Work in progress, don't merge labels Aug 14, 2020
Copy link

@ssallam ssallam left a comment

Choose a reason for hiding this comment

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

Please see the inline comments.

@0x3bfc
Copy link
Author

0x3bfc commented Aug 14, 2020

Please see the inline comments.

done

@0x3bfc 0x3bfc requested a review from ssallam August 14, 2020 14:12
@@ -146,6 +146,34 @@ contract SPool is BToken, BMath {
initialized = true;
return initialized;
}

function setup(
Copy link

Choose a reason for hiding this comment

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

this should only be callable by the controller.

Copy link

Choose a reason for hiding this comment

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

i guess this is implicit because it is using setSwapFee and finalize which both require sender == controller. so this is good.

Copy link

@ssallam ssallam left a comment

Choose a reason for hiding this comment

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

LGTM.

@0x3bfc 0x3bfc merged commit cb16c86 into master Aug 17, 2020
@0x3bfc 0x3bfc deleted the feature/balancer-setup branch August 17, 2020 09:06
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.

Single Ethereum tx to deploy a balancer pool, allow(), and bind()
2 participants