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

New Accessor Methods #140

Merged
merged 4 commits into from
Feb 22, 2022

Conversation

K-Singh
Copy link
Contributor

@K-Singh K-Singh commented Feb 15, 2022

Created additional accessor methods in InputBox, OutBox, ErgoContract, and UnsignedTransaction along with their Impl versions. Also replaced token function in OutBox with getTokens() and passed in additional variables when building UnsignedTransactions

…act, InputBox, OutBox, and their associated implicit classes
Copy link
Member

@aslesarenko aslesarenko left a comment

Choose a reason for hiding this comment

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

in general, it looks good and in the spirit of Appkit design.

@K-Singh
Copy link
Contributor Author

K-Singh commented Feb 20, 2022

Added the the changes you requested @aslesarenko

Copy link
Member

@aslesarenko aslesarenko 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 please the new comment I added

@@ -270,7 +270,7 @@ class TxBuilderSpec extends PropSpec with Matchers
val recipient = address

val amountToSend = 1000000
val pkContract = new ErgoTreeContract(recipient.getErgoAddress.script)
val pkContract = new ErgoTreeContract(recipient.getErgoAddress.script, recipient.getNetworkType)
Copy link
Member

Choose a reason for hiding this comment

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

Looks like now a new constructor can be added with Address parameter.

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