You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:::warning Breaking changes
The ⚠️ symbol denotes potentially breaking API changes.
As per the semantic versioning specification, from v1.0.0 onwards,
breaking changes will be released only in major version bumps.
:::
Breaking Changes
⚠️nativeBalanceGte caveat
Renames nativeBalanceGte caveat to nativeBalanceChange.
Previously, the caveat only considered an increase in the native token
balance. It now accepts a new parameter, BalanceChangeType, which defines the
expected type of balance change. This parameter allows specifying whether the
native token balance should have increased or decreased, using the valid
options: BalanceChangeType.Increase and BalanceChangeType.Decrease.
Renames erc20BalanceGte caveat to erc20BalanceChange.
Previously, the caveat only considered an increase in the ERC-20 token
balance. It now accepts a new parameter, BalanceChangeType, which defines the
expected type of balance change. This parameter allows specifying whether the
ERC-20 token balance should have increased or decreased, using the valid
options: BalanceChangeType.Increase and BalanceChangeType.Decrease.
Introduces a new parameter to specify the recipient address associated with the ERC-20 balance change.
// remove-next-linecaveatBuilder.addCaveat("erc20BalanceGte",// add-next-linecaveatBuilder.addCaveat("erc20BalanceChange","0xc11F3a8E5C7D16b75c9E2F60d26f5321C6Af5E92",// add-start// Specifies the address associated with the ERC-20 balance change"0x3fF528De37cd95b67845C1c55303e7685c72F319",// add-end1_000_000n,// add-next-lineBalanceChangeType.Increase,);
⚠️erc721BalanceGte caveat
Renames erc721BalanceGte caveat to erc721BalanceChange.
Previously, the caveat only considered an increase in the ERC-721 token
balance. It now accepts a new parameter, BalanceChangeType, which defines the
expected type of balance change. This parameter allows specifying whether the
ERC-721 token balance should have increased or decreased, using the valid
options: BalanceChangeType.Increase and BalanceChangeType.Decrease.
Renames erc1155BalanceGte caveat to erc1155BalanceChange.
Previously, the caveat only considered an increase in the ERC-1155 token
balance. It now accepts a new parameter, BalanceChangeType, which defines the
expected type of balance change. This parameter allows specifying whether the
ERC-1155 token balance should have increased or decreased, using the valid
options: BalanceChangeType.Increase and BalanceChangeType.Decrease.
Delegation Framework now supports the Gnosis Chiado testnet 🎉.
isValidSignature function has been added to verify signatures from smart contract accounts.
aggregateSignature function is now exposed in the toolkit, allowing
multiple required signatures to be combined into a single aggregated signature.
Learn how to generate a multisig signature.
A new caveat, multiTokenPeriod, has been introduced to ensure that transfers involving multiple tokens remain within defined limits over specified time periods. See multiTokenPeriod to learn more.