MCPcopy Create free account

hub / github.com/UniqueNetwork/unique-chain / functions

Functions110 in github.com/UniqueNetwork/unique-chain

↓ 19 callersFunctionnew_test_ext
This function basically just builds a genesis storage key/value store according to our desired mockup.
pallets/nft/src/mock.rs:70
↓ 13 callersMethodinto
(self)
smart_contract/ink-types-node-runtime/src/lib.rs:60
↓ 6 callersMethodinto
(self)
pallets/nft/src/lib.rs:55
↓ 3 callersFunctionusingApi
(action: (api: ApiPromise) => Promise<void>, settings: ApiOptions | undefined = undefined)
tests/src/substrate/substrate-api.ts:11
↓ 2 callersMethodas_ref
(&self)
smart_contract/ink-types-node-runtime/src/lib.rs:123
↓ 2 callersFunctioncleanup
()
tests/src/substrate/promisify-substrate.ts:8
↓ 2 callersFunctiongetBalance
(api: ApiPromise, accounts: string[])
tests/src/transfer.test.ts:9
↓ 2 callersFunctionpromisifySubstrate
(api: ApiPromise, action: T)
tests/src/substrate/promisify-substrate.ts:5
↓ 2 callersFunctionsubmitTransaction
(sender, transaction)
examples/testnft/create_collection.js:6
↓ 2 callersFunctionsubmitTransaction
(sender, transaction)
examples/re-fungible/create_collection.js:5
↓ 2 callersFunctiontestnet_genesis
( initial_authorities: Vec<(AuraId, GrandpaId)>, root_key: AccountId, endowed_accounts: Vec<Accoun
node/src/chain_spec.rs:103
↓ 2 callersMethodwithdraw_fee
( &self, who: &T::AccountId, call: &T::Call, info: &DispatchInfoOf<T::Call>,
pallets/nft/src/lib.rs:1124
↓ 1 callersFunctionapprove
(approved: AccountId, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:108
↓ 1 callersFunctionburn_item
(collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:120
↓ 1 callersFunctioncheckOwner
(owner)
examples/testnft/create_tokens.js:7
↓ 1 callersFunctioncreateCollectionAsync
(api, alice)
examples/testnft/create_collection.js:30
↓ 1 callersFunctioncreateCollectionAsync
(api, alice)
examples/re-fungible/create_collection.js:29
↓ 1 callersFunctioncreate_item
(collection_id: u64, properties: Vec<u8>, owner: AccountId)
smart_contract/ink-types-node-runtime/src/calls.rs:116
↓ 1 callersFunctiondefaultApiOptions
()
tests/src/substrate/substrate-api.ts:6
↓ 1 callersFunctiondevelopment_config
()
node/src/chain_spec.rs:40
↓ 1 callersFunctionlocal_testnet_config
()
node/src/chain_spec.rs:66
↓ 1 callersFunctionmain
()
examples/testnft/create_tokens.js:34
↓ 1 callersFunctionmain
()
examples/testnft/create_collection.js:48
↓ 1 callersFunctionmain
()
examples/re-fungible/create_collection.js:45
↓ 1 callersFunctionmintAsync
(api, admin)
examples/testnft/create_tokens.js:14
↓ 1 callersFunctionrun
Parse and run command line arguments
node/src/command.rs:64
↓ 1 callersFunctiontransfer
(new_owner: AccountId, collection_id: u64, item_id: u64, value: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:85
↓ 1 callersMethodtransfer
(&self, new_owner: AccountId, collection_id: u64, item_id: u64, value: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:32
↓ 1 callersFunctiontransfer_from
(new_owner: AccountId, collection_id: u64, item_id: u64, value: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:112
↓ 1 callersFunctionwaitNewBlocks
(api: ApiPromise, blocksCount: number = 1)
tests/src/substrate/wait-new-blocks.ts:3
Functionadd_collection_admin
()
pallets/nft/src/tests.rs:692
Methodadd_fungible_item
(item: FungibleItemType<T::AccountId>)
pallets/nft/src/lib.rs:612
Methodadd_nft_item
(item: NftItemType<T::AccountId>)
pallets/nft/src/lib.rs:657
Methodadd_refungible_item
(item: ReFungibleItemType<T::AccountId>)
pallets/nft/src/lib.rs:634
Methodadd_token_index
(collection_id: u64, item_index: u64, owner: T::AccountId)
pallets/nft/src/lib.rs:1017
Methodadditional_signed
(&self)
pallets/nft/src/lib.rs:1197
Functionapprove
()
pallets/nft/src/tests.rs:868
Methodapprove
(&self, approved: AccountId, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:50
Methodas_mut
(&mut self)
smart_contract/ink-types-node-runtime/src/lib.rs:129
Methodauthor
()
node/src/command.rs:36
Functionauthority_keys_from_seed
Helper function to generate an authority key for Aura
node/src/chain_spec.rs:36
Functionbalance_of
()
pallets/nft/src/tests.rs:793
Functionburn_fungible_item
()
pallets/nft/src/tests.rs:609
Methodburn_fungible_item
(collection_id: u64, item_id: u64)
pallets/nft/src/lib.rs:731
Methodburn_item
(&self, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:143
Functionburn_nft_item
()
pallets/nft/src/tests.rs:568
Methodburn_nft_item
(collection_id: u64, item_id: u64)
pallets/nft/src/lib.rs:710
Functionburn_refungible_item
()
pallets/nft/src/tests.rs:648
Methodburn_refungible_item
( collection_id: u64, item_id: u64, owner: T::AccountId, )
pallets/nft/src/lib.rs:678
Functionchange_collection_owner
()
pallets/nft/src/tests.rs:523
Methodcheck_owner_or_admin_permissions
( collection_id: u64, subject: T::AccountId, )
pallets/nft/src/lib.rs:773
Methodcheck_owner_permissions
(collection_id: u64, subject: T::AccountId)
pallets/nft/src/lib.rs:761
Methodclear
()
smart_contract/ink-types-node-runtime/src/lib.rs:139
Methodcollection_exists
(collection_id: u64)
pallets/nft/src/lib.rs:753
Methodcopyright_start_year
()
node/src/command.rs:44
Functioncreate_collection
( collection_name: Vec<u16>, collection_description: Vec<u16>, token_prefix: Vec<u8>, mode: Co
smart_contract/ink-types-node-runtime/src/calls.rs:89
Functioncreate_fungible_item
()
pallets/nft/src/tests.rs:73
Methodcreate_item
(&self, collection_id: u64, properties: RawData, owner: AccountId)
smart_contract/ink-types-node-runtime/calls/lib.rs:127
Functioncreate_nft_item
()
pallets/nft/src/tests.rs:7
Functioncreate_refungible_item
()
pallets/nft/src/tests.rs:35
Methoddefault
()
pallets/nft/src/lib.rs:71
Methoddescription
()
node/src/command.rs:32
Functiondestroy_collection
()
pallets/nft/src/tests.rs:548
Methodexecutable_name
()
node/src/command.rs:48
Functionfail
(error: any)
tests/src/substrate/promisify-substrate.ts:17
Methodfmt
(&self, f: &mut sp_std::fmt::Formatter)
pallets/nft/src/lib.rs:1093
Methodfrom
(account: AccountId32)
smart_contract/ink-types-node-runtime/src/lib.rs:22
Methodfrom
(nft_call: Nft<NodeRuntimeTypes>)
smart_contract/ink-types-node-runtime/src/calls.rs:15
Methodfrom
utility constructor. Used only in client/factory code.
pallets/nft/src/lib.rs:1109
Functionfungible_approve_and_transfer_from
()
pallets/nft/src/tests.rs:436
Functionget_account_id_from_seed
Helper function to generate an account ID from seed
node/src/chain_spec.rs:28
Methodget_approved
(&self, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:66
Methodget_balance_of
(&self, collection_id: u64, owner: AccountId)
smart_contract/ink-types-node-runtime/calls/lib.rs:203
Functionget_from_seed
Helper function to generate a crypto pair from seed
node/src/chain_spec.rs:19
Methodget_owner
(&self, collection_id: u64, token_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:160
Methodimpl_name
()
node/src/command.rs:24
Methodimpl_version
()
node/src/command.rs:28
Methodis_clear
(&self)
smart_contract/ink-types-node-runtime/src/lib.rs:135
Methodis_item_owner
(subject: T::AccountId, collection_id: u64, item_id: u64)
pallets/nft/src/lib.rs:795
Methodload_spec
(&self, id: &str)
node/src/command.rs:52
Functionmain
()
runtime/build.rs:3
Functionmain
()
node/build.rs:3
Functionmain
()
node/src/main.rs:10
Methodmove_token_index
( collection_id: u64, item_index: u64, old_owner: T::AccountId, new_owner: T::
pallets/nft/src/lib.rs:1056
Functionnative_version
()
runtime/src/lib.rs:131
Methodnew
(param: Vec<AccountId>)
smart_contract/ink-types-node-runtime/src/lib.rs:54
Methodnew
(&mut self)
smart_contract/ink-types-node-runtime/calls/lib.rs:29
Functionnew_full
Builds a new service for a full client.
node/src/service.rs:100
Functionnew_light
Builds a new service for a light client.
node/src/service.rs:210
Functionnft_approve_and_transfer_from
()
pallets/nft/src/tests.rs:296
Methodpost_dispatch
( pre: Self::Pre, info: &DispatchInfoOf<Self::Call>, post_info: &PostDispatchInfoOf<Se
pallets/nft/src/lib.rs:1228
Methodpre_dispatch
( self, who: &Self::AccountId, call: &Self::Call, info: &DispatchInfoOf<Self::
pallets/nft/src/lib.rs:1217
Functionrefungible_approve_and_transfer_from
()
pallets/nft/src/tests.rs:355
Functionremove_collection_admin
()
pallets/nft/src/tests.rs:738
Methodremove_token_index
( collection_id: u64, item_index: u64, owner: T::AccountId, )
pallets/nft/src/lib.rs:1037
Functionsuccess
(r: any)
tests/src/substrate/promisify-substrate.ts:13
Methodsupport_url
()
node/src/command.rs:40
Methodtraditional_fee
( len: usize, info: &DispatchInfoOf<T::Call>, tip: BalanceOf<T>, )
pallets/nft/src/lib.rs:1113
Functiontransfer_from
()
pallets/nft/src/tests.rs:901
Methodtransfer_from
(&self, new_owner: AccountId, collection_id: u64, item_id: u64, value: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:109
next →1–100 of 110, ranked by callers