Skip to content

ON-1026-Land-Parcel-Profit-Share#9

Open
EduardoMelo00 wants to merge 10 commits intoAGIP-94-land-parcelsfrom
ON-1026-Land-Parcel-Profit-Share
Open

ON-1026-Land-Parcel-Profit-Share#9
EduardoMelo00 wants to merge 10 commits intoAGIP-94-land-parcelsfrom
ON-1026-Land-Parcel-Profit-Share

Conversation

@EduardoMelo00
Copy link

No description provided.

);
}

function _handleTokenChanneling(uint256 _realmId, bytes32 _roleId, uint256 channelAmount, uint256 tokenIndex) internal {

Choose a reason for hiding this comment

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

This function, seems unnecessary. Was it extracted because of the stack too deep error? I think almost all of these variables can be removed

Copy link
Author

Choose a reason for hiding this comment

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

Yes, this was extracted because of the stack too deep error, all the internal function was created due the stack too deep

_realmId
);

alchemica.mint(LibAlchemica.alchemicaRecipient(_gotchiId), splitCalc.borrowerAmount);

Choose a reason for hiding this comment

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

Isn't the alchemica already transferred to the borrower via splitter?

Copy link
Author

Choose a reason for hiding this comment

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

In this case just to you know, i didn't change this function. I kept because in the new Splitter we don't consider the borrowerAmount because this should be transferred out of split, as we talked first.

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