Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baedrik/snip721-reference-impl
/ functions
Functions
188 in github.com/baedrik/snip721-reference-impl
⨍
Functions
188
◇
Types & classes
59
↓ 1 callers
Function
query_nft_info
Returns StdResult<Binary> displaying the public metadata of a token # Arguments `storage` - a reference to the contract's storage `token_id` - strin
src/contract.rs:2175
↓ 1 callers
Function
receive_nft_msg
Returns a StdResult<CosmosMsg> used to call a registered contract's ReceiveNft # Arguments `sender` - the address of the former owner of the sent to
src/receiver.rs:65
↓ 1 callers
Function
receiver_callback_msgs
( deps: &mut DepsMut, contract_human: &str, contract: &CanonicalAddr, receiver_info: Option<Re
src/contract.rs:4097
↓ 1 callers
Function
register_receive_nft
Returns StdResult<Response> registers a contract's ReceiveNft # Arguments `deps` - mutable reference to Extern containing all the contract's extern
src/contract.rs:1381
↓ 1 callers
Function
remove_minters
Returns StdResult<Response> remove a list of minters # Arguments `deps` - mutable reference to Extern containing all the contract's external depend
src/contract.rs:1512
↓ 1 callers
Function
reveal
Returns StdResult<Response> makes the sealed private metadata public # Arguments `deps` - mutable reference to Extern containing all the contract's
src/contract.rs:804
↓ 1 callers
Function
revoke_permit
Returns StdResult<Response> revoke the ability to use a specified permit # Arguments `storage` - mutable reference to the contract's storage `sende
src/contract.rs:1679
↓ 1 callers
Function
send_nft
( deps: DepsMut, env: &Env, sender: &Addr, config: &mut Config, priority: u8, contract
src/contract.rs:1341
↓ 1 callers
Function
set_contract_status
Returns StdResult<Response> set the contract status level # Arguments `deps` - mutable reference to Extern containing all the contract's external d
src/contract.rs:1646
↓ 1 callers
Function
set_global_approval
( deps: DepsMut, env: &Env, sender: &Addr, config: &Config, priority: u8, token_id: Op
src/contract.rs:997
↓ 1 callers
Function
set_key
Returns StdResult<Response> sets the viewing key to the input String # Arguments `deps` - mutable reference to Extern containing all the contract's
src/contract.rs:1446
↓ 1 callers
Function
set_metadata
Returns StdResult<Response> sets new public and/or private metadata # Arguments `deps` - mutable reference to Extern containing all the contract's
src/contract.rs:677
↓ 1 callers
Function
set_minters
Returns StdResult<Response> define the exact list of minters # Arguments `deps` - mutable reference to Extern containing all the contract's externa
src/contract.rs:1564
↓ 1 callers
Function
set_royalty_info
Returns StdResult<Response> sets new royalty information for a specified token or if no token ID is provided, sets new royalty information as the con
src/contract.rs:725
↓ 1 callers
Function
store_burn
Returns StdResult<()> after storing tx # Arguments `storage` - a mutable reference to the storage this item should go to `config` - a mutable refere
src/state.rs:298
↓ 1 callers
Function
store_mint
Returns StdResult<()> after storing tx # Arguments `storage` - a mutable reference to the storage this item should go to `config` - a mutable refere
src/state.rs:257
↓ 1 callers
Function
store_transfer
( storage: &mut dyn Storage, config: &mut Config, block: &BlockInfo, token_id: String, fro
src/state.rs:203
↓ 1 callers
Method
to_stored
Returns StdResult<StoredRoyalty> from creating a StoredRoyalty from a Royalty # Arguments `api` - a reference to the Api used to convert human and c
src/royalties.rs:20
↓ 1 callers
Function
transfer_nft
( deps: DepsMut, env: &Env, sender: &Addr, config: &mut Config, priority: u8, recipien
src/contract.rs:1270
Method
default
()
src/expiration.rs:31
Method
default
()
src/msg.rs:76
Function
empty_test
()
tests/integration.rs:3
Method
fmt
(&self, f: &mut fmt::Formatter)
src/expiration.rs:20
Function
main
()
examples/schema.rs:10
Method
new
Returns StdResult<Inventory> creates a new Inventory by loading it from storage or creating a new one # Arguments `storage` - a reference to the co
src/inventory.rs:34
Method
owns
Returns StdResult<bool> returns true if the input address owns the input token_idx # Arguments `storage` - a reference to the contract's storage `o
src/inventory.rs:181
Method
start_after
Returns StdResult<InventoryIter> creates an InventoryIter that starts after the supplied token index # Arguments `storage` - a reference to the con
src/inventory.rs:230
Function
test_add_minters
()
src/unittest_handles.rs:10329
Function
test_all_nft_info
()
src/unittest_queries.rs:2893
Function
test_approved_for_all
()
src/unittest_queries.rs:3290
Function
test_batch_burn
()
src/unittest_handles.rs:5524
Function
test_batch_mint
()
src/unittest_handles.rs:204
Function
test_batch_send
()
src/unittest_handles.rs:9099
Function
test_batch_transfer
()
src/unittest_handles.rs:7355
Function
test_burn
()
src/unittest_handles.rs:4958
Function
test_burn_non_transferable
()
src/unittest_non_transferable.rs:574
Function
test_change_admin
()
src/unittest_handles.rs:10700
Function
test_check_permission
()
src/unittest_handles.rs:11900
Function
test_create_viewing_key
()
src/unittest_handles.rs:10200
Function
test_cw721_approve
()
src/unittest_handles.rs:3798
Function
test_cw721_approve_all
()
src/unittest_handles.rs:10830
Function
test_cw721_revoke
()
src/unittest_handles.rs:4347
Function
test_cw721_revoke_all
()
src/unittest_handles.rs:11092
Function
test_expiration
()
src/expiration.rs:58
Function
test_init_sanity
()
src/unittest_handles.rs:124
Function
test_init_sanity
()
src/unittest_non_transferable.rs:161
Function
test_init_sanity
()
src/unittest_royalties.rs:107
Function
test_inventory
()
src/unittest_inventory.rs:11
Function
test_inventory_approvals
()
src/unittest_queries.rs:3671
Function
test_is_transferable
()
src/unittest_non_transferable.rs:804
Function
test_is_unwrapped
()
src/unittest_queries.rs:2313
Function
test_make_ownership_private
()
src/unittest_handles.rs:11398
Function
test_mint
()
src/unittest_handles.rs:426
Function
test_mint_run_info
()
src/unittest_mint_run.rs:46
Function
test_nft_info
()
src/unittest_queries.rs:2809
Function
test_no_royalties_if_non_transferable
()
src/unittest_non_transferable.rs:314
Function
test_num_tokens_of_owner
()
src/unittest_queries.rs:4399
Function
test_owner_of
()
src/unittest_queries.rs:2429
Function
test_private_metadata
()
src/unittest_queries.rs:3062
Function
test_query_all_tokens
()
src/unittest_queries.rs:428
Function
test_query_batch_nft_dossier
()
src/unittest_queries.rs:4901
Function
test_query_contract_config
()
src/unittest_queries.rs:129
Function
test_query_contract_info
()
src/unittest_queries.rs:103
Function
test_query_minters
()
src/unittest_queries.rs:173
Function
test_query_nft_dossier
()
src/unittest_queries.rs:793
Function
test_query_nft_dossier
()
src/unittest_non_transferable.rs:709
Function
test_query_num_tokens
()
src/unittest_queries.rs:223
Function
test_query_registered_code_hash
()
src/unittest_queries.rs:4312
Function
test_query_tokens
()
src/unittest_queries.rs:1570
Function
test_register_receive_nft
()
src/unittest_handles.rs:10132
Function
test_remove_minters
()
src/unittest_handles.rs:10442
Function
test_reveal
()
src/unittest_handles.rs:1415
Function
test_send
()
src/unittest_handles.rs:8466
Function
test_set_contract_status
()
src/unittest_handles.rs:10784
Function
test_set_global_approval
()
src/unittest_handles.rs:11475
Function
test_set_minters
()
src/unittest_handles.rs:10594
Function
test_set_private_metadata
()
src/unittest_handles.rs:1050
Function
test_set_public_metadata
()
src/unittest_handles.rs:749
Function
test_set_royalty_info
()
src/unittest_royalties.rs:305
Function
test_set_viewing_key
()
src/unittest_handles.rs:10270
Function
test_set_whitelisted_approval
()
src/unittest_handles.rs:1674
Function
test_token_approvals
()
src/unittest_queries.rs:3377
Function
test_transaction_history
()
src/unittest_queries.rs:4085
Function
test_transfer
()
src/unittest_handles.rs:6755
Function
test_verify_transfer_approval
()
src/unittest_queries.rs:3870
Function
test_verify_transfer_approval
()
src/unittest_non_transferable.rs:920
Function
test_xfer_send_non_transferable
()
src/unittest_non_transferable.rs:434
Method
to_human
Returns StdResult<DisplayRoyalty> from creating a DisplayRoyalty from a StoredRoyalty # Arguments `api` - a reference to the Api used to convert hum
src/royalties.rs:89
← previous
101–188 of 188, ranked by callers