Skip to content

Tags: settlemint/asset-tokenization-kit

Tags

v0.3.14

Toggle v0.3.14's commit message

Verified

This commit was signed with the committer’s verified signature.
roderik Roderik van der Veer
fix: last deposit changes

v0.3.13

Toggle v0.3.13's commit message

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
feat: portfolio graph (#1271)

## Summary by Sourcery

Adds a portfolio graph to the dashboard, displaying the user's portfolio
value over time. It fetches historical portfolio data, calculates asset
prices, and renders an area chart.

New Features:
- Introduces a portfolio graph to the dashboard, visualizing the user's
portfolio value over time.
- Adds a new component to display the portfolio value chart.
- Fetches and processes historical portfolio data to create a time
series for the chart.
- Calculates asset prices to determine the portfolio value.
- Adds a new query to fetch portfolio history from the graph.

---------

Co-authored-by: Roderik van der Veer <[email protected]>

v0.3.12

Toggle v0.3.12's commit message

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
feat: use the new concentration calculation (#1262)

## Summary by Sourcery

Adds a concentration calculation to the subgraph and updates the schema
to include it. Removes the calculated fields from the dapp.

New Features:
- Adds a concentration calculation to the subgraph, which calculates the
percentage of total supply held by the top holders.
- Adds a concentration field to the schema for assets.
- Adds events for paused, unpaused, tokens frozen, user allowed, and
user disallowed to the TokenizedDeposit asset type.
- Adds lastActivity field to TokenizedDeposit asset type.
- Adds frozenEventCount field to AssetActivity entity.
- Adds logic to update pausedBalancesCount and pausedBalance fields on
Account entity when TokenizedDeposit is paused or unpaused.
- Adds logic to update frozenEventCount on AssetActivity entity when
tokens are frozen for TokenizedDeposit asset type.
- Adds logic to update lastActivity field on TokenizedDeposit asset type
on various events.
- Adds logic to update concentration field on various events for all
asset types (Bond, Cryptocurrency, Equity, Fund, StableCoin,
TokenizedDeposit).

v0.3.11

Toggle v0.3.11's commit message

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
fix: transfer form and portfolio improvements (#1191)

## Summary by Sourcery

Improves the user experience and fixes visibility issues in the ATK
demo. It enhances the transfer form by adding a user search feature and
allows manual entry of wallet addresses. It also displays the user's
balance for assets on the details page.

New Features:
- Adds a user search feature to the transfer form, allowing users to
search for recipients instead of manually entering wallet addresses.
- Displays the user's balance for assets on the details page, providing
more information to the user about their holdings.
- Adds the ability to switch between manual entry and user search in the
recipients step of the transfer form.
- Adds a conditional check for balance data to prevent errors when the
balance is not available or the user is not logged in.
- Adds a default value of empty array to allowlist and blocklist in
AssetUsersFragmentSchema to prevent errors when the lists are empty.

---------

Co-authored-by: Silke Van den Broeck <[email protected]>

v0.3.10

Toggle v0.3.10's commit message

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
fix: value needs to be 0 or higher (#1190)

## Summary by Sourcery

Bug Fixes:
- Ensure that the value entered in the valueInBaseCurrency field is not
negative.

v0.3.9

Toggle v0.3.9's commit message

Verified

This commit was signed with the committer’s verified signature.
roderik Roderik van der Veer
fix: collateral management pie

v0.3.8

Toggle v0.3.8's commit message

Verified

This commit was signed with the committer’s verified signature.
roderik Roderik van der Veer
fix: remove console logs

v0.3.7

Toggle v0.3.7's commit message

Verified

This commit was signed with the committer’s verified signature.
roderik Roderik van der Veer
chore: cookies debug

v0.3.6

Toggle v0.3.6's commit message

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
fix: formatter translations (#1164)

## Summary by Sourcery

Fixes formatting issues by ensuring numbers and dates are properly
localized across the dapp. It introduces a new formatting approach using
`next-intl` formatters, which are applied consistently throughout the
application. The changes include updating the `formatNumber` and
`formatDate` functions to use the new formatters, and passing the locale
to these functions in various components.

Enhancements:
- Refactor number and date formatting to use `next-intl` formatters for
consistent localization.
- Update components to pass the locale to `formatNumber` and
`formatDate` functions.
- Set the default timezone to Europe/Brussels

Tests:
- No specific tests were added, but the changes should improve the
consistency and correctness of number and date formatting across
different locales.

v0.3.5

Toggle v0.3.5's commit message

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
fix: Handle cryptocurrency not having 'user manager' role (#1161)

## Description

This PR fixes the issue described in
[ENG-2693](https://linear.app/settlemint/issue/ENG-2693/handle-cryptocurrency-does-not-have-user-manager-role)
where cryptocurrencies don't have the user manager role in the contract,
but the UI was still trying to check for it.

## Changes

1. Modified `ManageDropdown` component to check if the asset type is
cryptocurrency before checking for the USER_MANAGEMENT_ROLE
2. For cryptocurrency assets, allow admins to perform user actions (like
granting roles) even without the USER_MANAGEMENT_ROLE
3. Updated the `AdminRoles` component in the grant role form to filter
out the USER_MANAGEMENT_ROLE option for cryptocurrency assets

## Testing

- Verified that the manage dropdown now correctly shows the grant role
option for cryptocurrency assets when the user has admin role
- Verified that the grant role form doesn't show the
USER_MANAGEMENT_ROLE option for cryptocurrency assets

## Related Issues

Fixes
[ENG-2693](https://linear.app/settlemint/issue/ENG-2693/handle-cryptocurrency-does-not-have-user-manager-role)

## Summary by Sourcery

Fixes an issue where the UI incorrectly checked for the
USER_MANAGEMENT_ROLE on cryptocurrency assets, which do not have this
role. The changes ensure that admin users can still perform user actions
on cryptocurrency assets without requiring the USER_MANAGEMENT_ROLE.

Bug Fixes:
- Allows admins to perform user actions on cryptocurrency assets even
without the USER_MANAGEMENT_ROLE.
- Filters out the USER_MANAGEMENT_ROLE option in the grant role form for
cryptocurrency assets.

---------

Co-authored-by: codegen-bot <[email protected]>
Co-authored-by: Roderik van der Veer <[email protected]>