public Task <TransactionReceipt> GrantRoleRequestAndWaitForReceiptAsync(byte[] role, string account, CancellationTokenSource cancellationToken = null) { var grantRoleFunction = new GrantRoleFunction(); grantRoleFunction.Role = role; grantRoleFunction.Account = account; return(ContractHandler.SendRequestAndWaitForReceiptAsync(grantRoleFunction, cancellationToken)); }
public Task <string> GrantRoleRequestAsync(byte[] role, string account) { var grantRoleFunction = new GrantRoleFunction(); grantRoleFunction.Role = role; grantRoleFunction.Account = account; return(ContractHandler.SendRequestAsync(grantRoleFunction)); }
public Task <TransactionReceipt> GrantRoleRequestAndWaitForReceiptAsync(GrantRoleFunction grantRoleFunction, CancellationTokenSource cancellationToken = null) { return(ContractHandler.SendRequestAndWaitForReceiptAsync(grantRoleFunction, cancellationToken)); }
public Task <string> GrantRoleRequestAsync(GrantRoleFunction grantRoleFunction) { return(ContractHandler.SendRequestAsync(grantRoleFunction)); }