-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add pallets/foreign-assets endpoint #1314
Commits on Aug 15, 2023
-
feat: add pallets/foreign-assets endpoint
- add controller, service & reponse type for foreign assets - update chain-config - update docs
Configuration menu - View commit details
-
Copy full SHA for e1aa255 - Browse repository at this point
Copy the full SHA e1aa255View commit details
Commits on Aug 21, 2023
-
fix: remove
asset-info
from endpoint & fix docs- In /pallets/foreign-assets/ endpoint removed `asset-info` since it is not necessary. - In the docs removed the array notation from the `200` response of multiple endpoints (including foreign assets) since there is no outer array in the result.
Configuration menu - View commit details
-
Copy full SHA for e682fbd - Browse repository at this point
Copy the full SHA e682fbdView commit details -
add name & symbol in human readable format
- Added in the response the asset's name & symbol in human readable format.
Configuration menu - View commit details
-
Copy full SHA for e9ca2e4 - Browse repository at this point
Copy the full SHA e9ca2e4View commit details
Commits on Aug 28, 2023
-
Refactored the code that retrieves the metadata of the foreign asset
- Retrieved metadata based on MultiLocation key obtained by asset info entries - Changed types in IForeignAssetInfo
Configuration menu - View commit details
-
Copy full SHA for eb9628e - Browse repository at this point
Copy the full SHA eb9628eView commit details
Commits on Sep 5, 2023
-
- Added a test (tinkernet) for foreign asset - Added metadata & registry for Asset Hub Kusama
Configuration menu - View commit details
-
Copy full SHA for 0683642 - Browse repository at this point
Copy the full SHA 0683642View commit details -
Merge branch 'master' into domi-foreign-assets
- Resolved conflicts by keeping both changes - Reordered the pallets endpoints in docs so they are in alphabetical order (almost) - Rebuilt docs
Configuration menu - View commit details
-
Copy full SHA for 07fddc4 - Browse repository at this point
Copy the full SHA 07fddc4View commit details
Commits on Sep 6, 2023
-
Update src/services/pallets/PalletsForeignAssetsService.ts
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for cc4b02b - Browse repository at this point
Copy the full SHA cc4b02bView commit details -
Update src/services/pallets/PalletsForeignAssetsService.ts
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2c418c7 - Browse repository at this point
Copy the full SHA 2c418c7View commit details -
Update src/services/pallets/PalletsForeignAssetsService.ts
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c8b6d7e - Browse repository at this point
Copy the full SHA c8b6d7eView commit details -
Update src/services/pallets/PalletsForeignAssetsService.ts
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 151396b - Browse repository at this point
Copy the full SHA 151396bView commit details -
Update src/services/pallets/PalletsForeignAssetsService.ts
Co-authored-by: Tarik Gul <47201679+TarikGul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e87cede - Browse repository at this point
Copy the full SHA e87cedeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34a04ec - Browse repository at this point
Copy the full SHA 34a04ecView commit details -
changed types in assetInfo & assetMetadata & copyright
- Replaced types to avoid type casts based on Tarik's suggestion - Added the copyright in some files that was missing - Updated the copyright year in some of the files
Configuration menu - View commit details
-
Copy full SHA for dae423e - Browse repository at this point
Copy the full SHA dae423eView commit details -
removed storageKeyMultilocation & changed storageKey
- Changed the copyright year in the files related to this PR
Configuration menu - View commit details
-
Copy full SHA for 1df530f - Browse repository at this point
Copy the full SHA 1df530fView commit details
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8efc7f2 - Browse repository at this point
Copy the full SHA 8efc7f2View commit details
Commits on Sep 8, 2023
-
Updated test to work with multiple foreign assets
- Added the DOT asset in the test file (.spec) - Added the AssetInfo and AssetMetadata for the DOT asset in the mock data (metadata currently have empty & zero values because those are the values in Asset Hub right now - to be changed) - Added again the storageKeyMultilocation in TypeFactory since indexType is not included in InterfaceTypes (as defined in storageKey)
Configuration menu - View commit details
-
Copy full SHA for 20f967e - Browse repository at this point
Copy the full SHA 20f967eView commit details -
Changes types of foreignAssetInfo and foreignAssetMetadata
- Replaced PalletAssetsAssetMetadata with AssetMetadata - Removed also Option from assetMetadata
Configuration menu - View commit details
-
Copy full SHA for ffb3d54 - Browse repository at this point
Copy the full SHA ffb3d54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d49b26 - Browse repository at this point
Copy the full SHA 2d49b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4dd1f3 - Browse repository at this point
Copy the full SHA b4dd1f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 646083a - Browse repository at this point
Copy the full SHA 646083aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ecc91b - Browse repository at this point
Copy the full SHA 1ecc91bView commit details