From 845aa703bab3bb15467ce062fa3bc4ee002834ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lippi?= Date: Wed, 19 Jun 2024 02:26:31 -0300 Subject: [PATCH] #86dtu8yuk - Include how to use NEP17Contract to Calling contracts documentation --- docs/source/calling-smart-contracts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/calling-smart-contracts.md b/docs/source/calling-smart-contracts.md index bcb89021..7ed88b68 100644 --- a/docs/source/calling-smart-contracts.md +++ b/docs/source/calling-smart-contracts.md @@ -91,11 +91,11 @@ In addition, Neo3-Boa has an interface for contracts that adhere to the NEP-17 s # calling_nep17_contract.py from boa3.sc.compiletime import public from boa3.sc.contracts import ContractManagement -from boa3.sc.types import Nep17Contract +from boa3.sc.types import Nep17Contract, UInt160 @public -def calling_other_contract(my_contract_hash: str) -> str: +def calling_other_contract(my_contract_hash: UInt160) -> str: nep_17_contract: Nep17Contract = ContractManagement.get_contract(my_contract_hash) return nep_17_contract.symbol() ```