From 8962371bcef4d30a7459b11bc40e66208e3d13db Mon Sep 17 00:00:00 2001 From: Alisander Qoshqosh Date: Fri, 7 Feb 2025 10:03:50 +0400 Subject: [PATCH] docs fixes --- crates/motsu/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/motsu/README.md b/crates/motsu/README.md index 4063484..4d3fba0 100644 --- a/crates/motsu/README.md +++ b/crates/motsu/README.md @@ -34,10 +34,10 @@ mod tests { } ``` -Function `Contract::sender` is necessary to trigger call +Function `Contract::sender()` is necessary to trigger call to a contract, and should accept an `Account` or `Address` as an argument. -Alternatively `Contract::sender_and_value` can be used to +Alternatively `Contract::sender_and_value()` can be used to pass additional value to the contract: ```rust