Skip to content

Conversation

@murka
Copy link
Collaborator

@murka murka commented Jan 16, 2026

No description provided.

private static validateSupplyParameters(parameters: SupplyParameters): void {
if (parameters.subaccountId !== undefined && !isValidSubaccountId(parameters.subaccountId)) {
throw new Error(`Supply validation failed: ${VALIDATION.ERRORS.INVALID_SUBACCOUNT_ID}`);
private isValidSupplyExtendParameters(parameters: SupplyExtendParameters) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I couldn’t come up with anything better, waiting for your review.

*/
createSupplyMessage(parameters: SupplyParameters): Cell {
AbstractEvaaMaster.validateSupplyParameters(parameters);
createSupplyMessage(parameters: SupplyBaseParameters): Cell
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@murka murka changed the title refactor(AbstractMaster): restructure supply parameters and validation refactor: restructure supply parameters and validation Jan 16, 2026
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.

2 participants