Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using System;
using System.Numerics;
using Sequence.ABI;
using Sequence.Provider;
using Sequence.Transactions;
using System.Text;
using System.Text.RegularExpressions;
using Sequence.Utils;
using Sequence.Wallet;
using UnityEngine;

namespace Sequence.Contracts
{
public class Contract
{
private struct QueryParameters
{
public Address to;
public string data;
}

Address address;
public delegate Task<T> QueryContractMessageSender<T>(IEthClient client);

Expand Down Expand Up @@ -156,12 +155,11 @@ private QueryContractMessageSender<string> QueryContract(string functionName, pa
private object[] CreateParams(string functionName, params object[] args)
{
string data = GetData(functionName, args);
string to = address;
object[] toSendParams = new object[] {
new
new QueryParameters
{
to,
data
to = address,
data = data
}
};
return toSendParams;
Expand Down
2 changes: 1 addition & 1 deletion Packages/Sequence-Unity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xyz.0xsequence.waas-unity",
"version": "4.4.1",
"version": "4.4.2",
"displayName": "Sequence Embedded Wallet SDK",
"description": "A Unity SDK for Sequence APIs",
"unity": "2021.3",
Expand Down