Skip to content

Commit 33c6ca4

Browse files
authored
Add ContractManagement.HasMethod() (#765)
1 parent 4ebc146 commit 33c6ca4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Neo.SmartContract.Framework/Native/ContractManagement.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public class ContractManagement
2222
public static extern UInt160 Hash { get; }
2323
public static extern long GetMinimumDeploymentFee();
2424
public static extern Contract GetContract(UInt160 hash);
25+
public static extern bool HasMethod(UInt160 hash, string method, int pcount);
2526
public static extern Contract Deploy(ByteString nefFile, string manifest);
2627
public static extern Contract Deploy(ByteString nefFile, string manifest, object data);
2728
public static extern void Update(ByteString nefFile, string manifest);

0 commit comments

Comments
 (0)