-
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.
Update mpl-core, Pubkey serde serialization via DisplayFromStr (#186)
- Loading branch information
Showing
5 changed files
with
132 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
+392 Bytes
...s/mpl_core_get_asset_with_pubkey_in_rule_set/8H71x9Bhh9E9o3MZK4QnVC5MRFn1WZRf2Mc9w2wEbG5V
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
95 changes: 95 additions & 0 deletions
95
...pshots/integration_tests__mpl_core_tests__mpl_core_get_asset_with_pubkey_in_rule_set.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,95 @@ | ||
--- | ||
source: integration_tests/tests/integration_tests/mpl_core_tests.rs | ||
assertion_line: 245 | ||
expression: response | ||
--- | ||
{ | ||
"interface": "MplCoreAsset", | ||
"id": "8H71x9Bhh9E9o3MZK4QnVC5MRFn1WZRf2Mc9w2wEbG5V", | ||
"content": { | ||
"$schema": "https://schema.metaplex.com/nft1.0.json", | ||
"json_uri": "https://arweave.net/JIdaRM9RXQUNhigQ7ochqc3AAVl95uGHAsilhcSMUC4", | ||
"files": [], | ||
"metadata": { | ||
"name": "TestCore", | ||
"symbol": "" | ||
}, | ||
"links": {} | ||
}, | ||
"authorities": [ | ||
{ | ||
"address": "", | ||
"scopes": [ | ||
"full" | ||
] | ||
} | ||
], | ||
"compression": { | ||
"eligible": false, | ||
"compressed": false, | ||
"data_hash": "", | ||
"creator_hash": "", | ||
"asset_hash": "", | ||
"tree": "", | ||
"seq": 0, | ||
"leaf_id": 0 | ||
}, | ||
"grouping": [ | ||
{ | ||
"group_key": "collection", | ||
"group_value": "GNDf9uggWELLWkRQAA62kCbMcATQcPw2Acz7ZnK347wP" | ||
} | ||
], | ||
"royalty": { | ||
"royalty_model": "creators", | ||
"target": null, | ||
"percent": 0.05, | ||
"basis_points": 500, | ||
"primary_sale_happened": false, | ||
"locked": false | ||
}, | ||
"creators": [ | ||
{ | ||
"address": "8LsUNkb7bLaAcZ7NjRKPuvcyRGTWbm9BxzUpVKjqdV8o", | ||
"share": 100, | ||
"verified": true | ||
} | ||
], | ||
"ownership": { | ||
"frozen": false, | ||
"delegated": false, | ||
"delegate": null, | ||
"ownership_model": "single", | ||
"owner": "8LsUNkb7bLaAcZ7NjRKPuvcyRGTWbm9BxzUpVKjqdV8o" | ||
}, | ||
"supply": null, | ||
"mutable": true, | ||
"burnt": false, | ||
"plugins": { | ||
"royalties": { | ||
"data": { | ||
"creators": [ | ||
{ | ||
"address": "8LsUNkb7bLaAcZ7NjRKPuvcyRGTWbm9BxzUpVKjqdV8o", | ||
"percentage": 100 | ||
} | ||
], | ||
"rule_set": { | ||
"program_deny_list": [ | ||
"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY" | ||
] | ||
}, | ||
"basis_points": 500 | ||
}, | ||
"index": 0, | ||
"offset": 155, | ||
"authority": { | ||
"type": "UpdateAuthority", | ||
"address": null | ||
} | ||
} | ||
}, | ||
"mpl_core_info": { | ||
"plugins_json_version": 1 | ||
} | ||
} |