Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Tonstarter functionality #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

shaharyakir
Copy link

No description provided.

@shaharyakir shaharyakir changed the title Testing Tonstarter functionality Dec 22, 2022
@@ -26,11 +28,33 @@ contract SampleTactContract {
self.add(msg.amount);
}

receive(msg: Withdraw) {
self.requireOwner();
nativeThrowUnless(478, myBalance() > msg.amount);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we please use require here and provide text error?

Copy link
Author

Choose a reason for hiding this comment

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

Will do. I'm still testing things - changed to draft at the moment.

would you like to merge these changes to the template generally?

Copy link
Contributor

Choose a reason for hiding this comment

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

ofc

Copy link
Author

Choose a reason for hiding this comment

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

updated

@shaharyakir shaharyakir marked this pull request as draft December 22, 2022 12:24
@shaharyakir shaharyakir marked this pull request as ready for review December 22, 2022 12:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants