示例#1
0
        public Task <TransactionReceipt> SetContractAtRequestAndWaitForReceiptAsync(ushort x, ushort y, byte tile, string address, CancellationTokenSource cancellationToken = null)
        {
            var setContractAtFunction = new SetContractAtFunction();

            setContractAtFunction.X       = x;
            setContractAtFunction.Y       = y;
            setContractAtFunction.Tile    = tile;
            setContractAtFunction.Address = address;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setContractAtFunction, cancellationToken));
        }
示例#2
0
        public Task <string> SetContractAtRequestAsync(ushort x, ushort y, byte tile, string address)
        {
            var setContractAtFunction = new SetContractAtFunction();

            setContractAtFunction.X       = x;
            setContractAtFunction.Y       = y;
            setContractAtFunction.Tile    = tile;
            setContractAtFunction.Address = address;

            return(ContractHandler.SendRequestAsync(setContractAtFunction));
        }
示例#3
0
 public Task <TransactionReceipt> SetContractAtRequestAndWaitForReceiptAsync(SetContractAtFunction setContractAtFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setContractAtFunction, cancellationToken));
 }
示例#4
0
 public Task <string> SetContractAtRequestAsync(SetContractAtFunction setContractAtFunction)
 {
     return(ContractHandler.SendRequestAsync(setContractAtFunction));
 }