- Updated
TimeFrame
enum:- Removed:
hour
,day
, andall
values - Added:
year
value
- Removed:
- The removal of
hour
,day
, andall
from theTimeFrame
enum may affect existing code that relies on these values.
- Fixed the
getTokenList
method.
- Introduced a new module,
BalancesModule
, for interacting with the Fuse Balances API.
- Upgraded all the dependencies to the latest versions.
WebSocketConnection
is now available in the SDK. It allows you to listen to events in real-time.
- Breaking Change:
FuseWalletSDK
Updated theswapTokens
method to retrieve quotes through the new API, utilizing Voltage V3, the latest router contract. It now getsTradeRequest
instead ofTradeRequestBody
, the amount of tokens to swap is now aBigInt
instead of aString
. TradeRequestBody
,Trade
&TradeCallParameters
models have been removed.Trade
object has been removed fromAction.Swap
type.- Update dependencies.
- Breaking Change:
FuseSDK
Updated theswapTokens
method to retrieve quotes through the new API, utilizing Voltage V3, the latest router contract. It now getsTradeRequest
instead ofTradeRequestBody
, the amount of tokens to swap is now aBigInt
instead of aString
. - Upgraded to the latest version of
userop
. - Upgraded to the latest version of
web3dart
. - Downgraded
http
package to1.2.0
.
- Upgraded to the latest version of
userop
.
- Introduced a new module,
GraphQLModule
, for interacting with the subgraphs on Fuse.
- Breaking Change: The NFT has been marked as deprecated and will be removed in the next major release.
- Update dependencies.
- Removed
feePerGas
fromTxOptions
as it is no longer used. Instead of setting it manually, the SDK now fetches the current gas price from the network.
- Update dependencies.
- Upgrade dependencies.
- Get balance for native token.
- Upgrade dependencies.
- Instead of retrieving the ERC-20 information from the explorer, it now fetches it directly via RPC
- Introduced a new property to the
txOptions
object,customNonceKey
, which gives account holders greater control over the semi-abstracted nonce system.
- Use a lock to ensure only one execution accesses the nonce at a time.
- Introduced a new property,
useNonceSequence
, toTxOptions
for facilitating the use of two-dimensional nonces.
- An expired property to the
StakingOption
model. This property indicates whether the staking option has expired or not.
- Increased the default
feePerGas
setting to 10 Gwei.
- Fixed an issue that causes getting 404 status code while getting native token balance for newly created ERC-4337 wallets.
- The
from
andto
fields are now available inTokenEvent
instances.
- The Websocket server url can now be provided into the SDK.
- The
createWallet
method has been brought back along with its corresponding examplecreate_wallet.dart
.
- The receive wallet actions are parsed correctly.
- The default
gasLimit
used in the legacy SDK is now700000
.
- Get wallet actions of the ERC-4337 - Account Abstraction wallets.
- The base URL can now be provided into the SDK. With this, you can get early access to features that are not yet available in production.
- Upgraded to the latest version of userop.
- The details of the userop is printed to the console before sending it.
- Transfer NFT method was fixed.
- Swap VoltToken to Fuse native token.
- Upgrade
userop
- It now uses the latest EtherspotWalletFactory contract.
- Transfer NFT method was fixed.
- Breaking Change: Revamped the entire SDK infrastructure.
- Smart Wallets are now 4337 compliant.
- Transitioned to using the new API set.
- Upgrade dependencies.
- Introduced
tvl
(total value locked) property in theStakingOption
model. - Added
stakingApr
property to theStakedToken
model. - Enhanced
getHistoricalActions
by introducing limit query parameter, enabling clients to retrieve more items per page.
Collectible
serialization
Collectible
fromJson
function
- Breaking: Introduced a new NFT module for fetching non-fungible tokens (ERC-721) on FUSE network.
- Expose a function to reconnect to the websocket when app goes to the foreground.
- Added more properties to
ActionResult
model.
- Expose
ContractsUtils
for clients.
- Upgrade dependencies: dio & web3dart.
- Expose a function to disconnect from the websocket when a application goes to the background.
- Resolved
unstakeToken
- Resolved
webSocketConnection
already been initialized issue
- Resolved
FormatException
issue
- Return
WalletAlreadyExistsException
from createWallet
- ABI reader fixed
- JSON serialization for the
Action
model
- Resolved issue with
getTokenBalance
function inExplorerModule
- Introduced
ExplorerModule.getABI
function - Retrieves the contract ABI for a given contract address.
- Breaking: Sections renamed to Modules
- Added comprehensive documentation to the package, making it easier for users to understand and use the package effectively.
- Introduced a new model
ActionResult
which provides information on the next page of actions, the next page number, and a list of actions.
- Replaced custom
EventEmitter
extension with the built-inStream
class for improved compatibility and maintainability. - Added a
getBalance
function to allow users to retrieve token balances directly from the blockchain.
(No changes in this version)
- Implemented historical transactions functionality to enable users to access and analyze past transactions.
- Initial release of the package.