public async Task SignUpAsync(PlanTier plan) { await _signUpFunction.SendTransactionAndWaitForReceiptAsync(Account.Address, new HexBigInteger(900000), null, null, (byte)plan); }
public async Task <bool> SignUpAsync(PlanTier plan, BigInteger payment) { var receipt = await _signUpFunction.SendTransactionAndWaitForReceiptAsync(Account.Address, new HexBigInteger(900000), new HexBigInteger(payment), null, (byte)plan); return(receipt.Status.Value == 1); }