-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
owner field in respose coming empty when searching for fungible-asset…
… using getAssetByOwner bug fixed
- Loading branch information
1 parent
6625889
commit 6766ee8
Showing
10 changed files
with
152 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+312 Bytes
..._owner_with_show_fungible_for_fungible_asset/6BRNfDfdq1nKyU1TQiCEQLWyPtD8EwUH9Kt2ahsbidUx
Binary file not shown.
Binary file added
BIN
+824 Bytes
..._owner_with_show_fungible_for_fungible_asset/7BajpcYgnxmWK91RhrfsdB3Tm83PcDwPvMC8ZinvtTY6
Binary file not shown.
Binary file added
BIN
+224 Bytes
..._owner_with_show_fungible_for_fungible_asset/7EYnhQoR9YM3N7UoaKRoA44Uy8JeaZV3qyouov87awMs
Binary file not shown.
Binary file added
BIN
+312 Bytes
...asset_by_owner_with_show_fungible_scenario_2/6BRNfDfdq1nKyU1TQiCEQLWyPtD8EwUH9Kt2ahsbidUx
Binary file not shown.
Binary file added
BIN
+824 Bytes
...asset_by_owner_with_show_fungible_scenario_2/7BajpcYgnxmWK91RhrfsdB3Tm83PcDwPvMC8ZinvtTY6
Binary file not shown.
Binary file added
BIN
+224 Bytes
...asset_by_owner_with_show_fungible_scenario_2/7EYnhQoR9YM3N7UoaKRoA44Uy8JeaZV3qyouov87awMs
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
...__show_fungible_flag_tests__get_asset_by_owner_with_show_fungible_for_fungible_asset.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
source: integration_tests/tests/integration_tests/show_fungible_flag_tests.rs | ||
expression: response | ||
snapshot_kind: text | ||
--- | ||
{ | ||
"total": 1, | ||
"limit": 1000, | ||
"cursor": "7EYnhQoR9YM3N7UoaKRoA44Uy8JeaZV3qyouov87awMs", | ||
"items": [ | ||
{ | ||
"interface": "FungibleToken", | ||
"id": "7EYnhQoR9YM3N7UoaKRoA44Uy8JeaZV3qyouov87awMs", | ||
"content": { | ||
"$schema": "https://schema.metaplex.com/nft1.0.json", | ||
"json_uri": "https://gateway.irys.xyz/P8X64pGutyX5eyTpQmqZr3H4_Lqhm0IYxr5SyzFFNek", | ||
"files": [], | ||
"metadata": { | ||
"name": "Silly Dragon", | ||
"symbol": "SILLY", | ||
"token_standard": "Fungible" | ||
}, | ||
"links": {} | ||
}, | ||
"authorities": [ | ||
{ | ||
"address": "38qZKCqcphT5wDrVNJGHYcuenjEtEFPitvrqvMFQkPu7", | ||
"scopes": [ | ||
"full" | ||
] | ||
} | ||
], | ||
"compression": { | ||
"eligible": false, | ||
"compressed": false, | ||
"data_hash": "", | ||
"creator_hash": "", | ||
"asset_hash": "", | ||
"tree": "", | ||
"seq": 0, | ||
"leaf_id": 0 | ||
}, | ||
"grouping": [], | ||
"royalty": { | ||
"royalty_model": "creators", | ||
"target": null, | ||
"percent": 0.0, | ||
"basis_points": 0, | ||
"primary_sale_happened": true, | ||
"locked": false | ||
}, | ||
"creators": [], | ||
"ownership": { | ||
"frozen": false, | ||
"delegated": false, | ||
"delegate": null, | ||
"ownership_model": "token", | ||
"owner": "2oerfxddTpK5hWAmCMYB6fr9WvNrjEH54CHCWK8sAq7g" | ||
}, | ||
"mutable": true, | ||
"burnt": false, | ||
"token_info": { | ||
"supply": 999913799054684527, | ||
"decimals": 9, | ||
"token_program": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" | ||
} | ||
} | ||
] | ||
} |