We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
overrides
override
1 parent 736ed59 commit 334313fCopy full SHA for 334313f
src/routes/(examples)/05-your-own-trait/contract.tact
@@ -67,12 +67,12 @@ contract Counter with Deployable, Trackable {
67
}
68
69
// the trait allows us to override the default filtering behavior
70
- overrides fun filterMessage(): Bool {
+ override fun filterMessage(): Bool {
71
// our contract's custom filtering behavior is to remove all filters and count all messages
72
return true;
73
74
75
// receive("reset stats") is added automatically to allow owner to reset the stats
76
// get fun stats(): Int is added automatically to query the stats
77
// get fun owner(): Address is added automatically to query who the owner is
78
-}
+}
0 commit comments