public Task <TransactionReceipt> OwnerCreateCitizenRequestAndWaitForReceiptAsync(string owner, ushort x, ushort y, byte tile, byte[] genes, byte[] characteristics, CancellationTokenSource cancellationToken = null) { var ownerCreateCitizenFunction = new OwnerCreateCitizenFunction(); ownerCreateCitizenFunction.Owner = owner; ownerCreateCitizenFunction.X = x; ownerCreateCitizenFunction.Y = y; ownerCreateCitizenFunction.Tile = tile; ownerCreateCitizenFunction.Genes = genes; ownerCreateCitizenFunction.Characteristics = characteristics; return(ContractHandler.SendRequestAndWaitForReceiptAsync(ownerCreateCitizenFunction, cancellationToken)); }
public Task <string> OwnerCreateCitizenRequestAsync(string owner, ushort x, ushort y, byte tile, byte[] genes, byte[] characteristics) { var ownerCreateCitizenFunction = new OwnerCreateCitizenFunction(); ownerCreateCitizenFunction.Owner = owner; ownerCreateCitizenFunction.X = x; ownerCreateCitizenFunction.Y = y; ownerCreateCitizenFunction.Tile = tile; ownerCreateCitizenFunction.Genes = genes; ownerCreateCitizenFunction.Characteristics = characteristics; return(ContractHandler.SendRequestAsync(ownerCreateCitizenFunction)); }
public Task <TransactionReceipt> OwnerCreateCitizenRequestAndWaitForReceiptAsync(OwnerCreateCitizenFunction ownerCreateCitizenFunction, CancellationTokenSource cancellationToken = null) { return(ContractHandler.SendRequestAndWaitForReceiptAsync(ownerCreateCitizenFunction, cancellationToken)); }
public Task <string> OwnerCreateCitizenRequestAsync(OwnerCreateCitizenFunction ownerCreateCitizenFunction) { return(ContractHandler.SendRequestAsync(ownerCreateCitizenFunction)); }