Update SDK (#35)

* Update SDK for swap

* Fix web3proxy build

* Update types

* Fix swap

* Send token test and BASE transfer

* fix cache and hook

* Fix send

* Update health check with uiFeereceiver

* Fix sdk

* Fix get positions

* Fix timeoutloop

* Fix open position

* Fix closes positions

* Review
This commit is contained in:
Oda
2025-09-17 14:28:56 +07:00
committed by GitHub
parent 271dd70ad7
commit cee3902a4d
91 changed files with 21375 additions and 2831 deletions

View File

@@ -15,6 +15,11 @@ public interface ICandleStoreGrain : IGrainWithStringKey
/// </summary>
/// <returns>List of candles ordered by date</returns>
Task<HashSet<Candle>> GetCandlesAsync();
Task<Candle> GetLastCandle();
/// <summary>
/// Gets the X latest candles from the store
/// </summary>
/// <param name="count">Number of latest candles to retrieve (default: 1)</param>
/// <returns>List of the X latest candles ordered by date</returns>
Task<List<Candle>> GetLastCandle(int count = 1);
}