Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UniqueNetwork/unique-chain
/ functions
Functions
110 in github.com/UniqueNetwork/unique-chain
⨍
Functions
110
◇
Types & classes
24
↓ 19 callers
Function
new_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 callers
Method
into
(self)
smart_contract/ink-types-node-runtime/src/lib.rs:60
↓ 6 callers
Method
into
(self)
pallets/nft/src/lib.rs:55
↓ 3 callers
Function
usingApi
(action: (api: ApiPromise) => Promise<void>, settings: ApiOptions | undefined = undefined)
tests/src/substrate/substrate-api.ts:11
↓ 2 callers
Method
as_ref
(&self)
smart_contract/ink-types-node-runtime/src/lib.rs:123
↓ 2 callers
Function
cleanup
()
tests/src/substrate/promisify-substrate.ts:8
↓ 2 callers
Function
getBalance
(api: ApiPromise, accounts: string[])
tests/src/transfer.test.ts:9
↓ 2 callers
Function
promisifySubstrate
(api: ApiPromise, action: T)
tests/src/substrate/promisify-substrate.ts:5
↓ 2 callers
Function
submitTransaction
(sender, transaction)
examples/testnft/create_collection.js:6
↓ 2 callers
Function
submitTransaction
(sender, transaction)
examples/re-fungible/create_collection.js:5
↓ 2 callers
Function
testnet_genesis
( initial_authorities: Vec<(AuraId, GrandpaId)>, root_key: AccountId, endowed_accounts: Vec<Accoun
node/src/chain_spec.rs:103
↓ 2 callers
Method
withdraw_fee
( &self, who: &T::AccountId, call: &T::Call, info: &DispatchInfoOf<T::Call>,
pallets/nft/src/lib.rs:1124
↓ 1 callers
Function
approve
(approved: AccountId, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:108
↓ 1 callers
Function
burn_item
(collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:120
↓ 1 callers
Function
checkOwner
(owner)
examples/testnft/create_tokens.js:7
↓ 1 callers
Function
createCollectionAsync
(api, alice)
examples/testnft/create_collection.js:30
↓ 1 callers
Function
createCollectionAsync
(api, alice)
examples/re-fungible/create_collection.js:29
↓ 1 callers
Function
create_item
(collection_id: u64, properties: Vec<u8>, owner: AccountId)
smart_contract/ink-types-node-runtime/src/calls.rs:116
↓ 1 callers
Function
defaultApiOptions
()
tests/src/substrate/substrate-api.ts:6
↓ 1 callers
Function
development_config
()
node/src/chain_spec.rs:40
↓ 1 callers
Function
local_testnet_config
()
node/src/chain_spec.rs:66
↓ 1 callers
Function
main
()
examples/testnft/create_tokens.js:34
↓ 1 callers
Function
main
()
examples/testnft/create_collection.js:48
↓ 1 callers
Function
main
()
examples/re-fungible/create_collection.js:45
↓ 1 callers
Function
mintAsync
(api, admin)
examples/testnft/create_tokens.js:14
↓ 1 callers
Function
run
Parse and run command line arguments
node/src/command.rs:64
↓ 1 callers
Function
transfer
(new_owner: AccountId, collection_id: u64, item_id: u64, value: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:85
↓ 1 callers
Method
transfer
(&self, new_owner: AccountId, collection_id: u64, item_id: u64, value: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:32
↓ 1 callers
Function
transfer_from
(new_owner: AccountId, collection_id: u64, item_id: u64, value: u64)
smart_contract/ink-types-node-runtime/src/calls.rs:112
↓ 1 callers
Function
waitNewBlocks
(api: ApiPromise, blocksCount: number = 1)
tests/src/substrate/wait-new-blocks.ts:3
Function
add_collection_admin
()
pallets/nft/src/tests.rs:692
Method
add_fungible_item
(item: FungibleItemType<T::AccountId>)
pallets/nft/src/lib.rs:612
Method
add_nft_item
(item: NftItemType<T::AccountId>)
pallets/nft/src/lib.rs:657
Method
add_refungible_item
(item: ReFungibleItemType<T::AccountId>)
pallets/nft/src/lib.rs:634
Method
add_token_index
(collection_id: u64, item_index: u64, owner: T::AccountId)
pallets/nft/src/lib.rs:1017
Method
additional_signed
(&self)
pallets/nft/src/lib.rs:1197
Function
approve
()
pallets/nft/src/tests.rs:868
Method
approve
(&self, approved: AccountId, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:50
Method
as_mut
(&mut self)
smart_contract/ink-types-node-runtime/src/lib.rs:129
Method
author
()
node/src/command.rs:36
Function
authority_keys_from_seed
Helper function to generate an authority key for Aura
node/src/chain_spec.rs:36
Function
balance_of
()
pallets/nft/src/tests.rs:793
Function
burn_fungible_item
()
pallets/nft/src/tests.rs:609
Method
burn_fungible_item
(collection_id: u64, item_id: u64)
pallets/nft/src/lib.rs:731
Method
burn_item
(&self, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:143
Function
burn_nft_item
()
pallets/nft/src/tests.rs:568
Method
burn_nft_item
(collection_id: u64, item_id: u64)
pallets/nft/src/lib.rs:710
Function
burn_refungible_item
()
pallets/nft/src/tests.rs:648
Method
burn_refungible_item
( collection_id: u64, item_id: u64, owner: T::AccountId, )
pallets/nft/src/lib.rs:678
Function
change_collection_owner
()
pallets/nft/src/tests.rs:523
Method
check_owner_or_admin_permissions
( collection_id: u64, subject: T::AccountId, )
pallets/nft/src/lib.rs:773
Method
check_owner_permissions
(collection_id: u64, subject: T::AccountId)
pallets/nft/src/lib.rs:761
Method
clear
()
smart_contract/ink-types-node-runtime/src/lib.rs:139
Method
collection_exists
(collection_id: u64)
pallets/nft/src/lib.rs:753
Method
copyright_start_year
()
node/src/command.rs:44
Function
create_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
Function
create_fungible_item
()
pallets/nft/src/tests.rs:73
Method
create_item
(&self, collection_id: u64, properties: RawData, owner: AccountId)
smart_contract/ink-types-node-runtime/calls/lib.rs:127
Function
create_nft_item
()
pallets/nft/src/tests.rs:7
Function
create_refungible_item
()
pallets/nft/src/tests.rs:35
Method
default
()
pallets/nft/src/lib.rs:71
Method
description
()
node/src/command.rs:32
Function
destroy_collection
()
pallets/nft/src/tests.rs:548
Method
executable_name
()
node/src/command.rs:48
Function
fail
(error: any)
tests/src/substrate/promisify-substrate.ts:17
Method
fmt
(&self, f: &mut sp_std::fmt::Formatter)
pallets/nft/src/lib.rs:1093
Method
from
(account: AccountId32)
smart_contract/ink-types-node-runtime/src/lib.rs:22
Method
from
(nft_call: Nft<NodeRuntimeTypes>)
smart_contract/ink-types-node-runtime/src/calls.rs:15
Method
from
utility constructor. Used only in client/factory code.
pallets/nft/src/lib.rs:1109
Function
fungible_approve_and_transfer_from
()
pallets/nft/src/tests.rs:436
Function
get_account_id_from_seed
Helper function to generate an account ID from seed
node/src/chain_spec.rs:28
Method
get_approved
(&self, collection_id: u64, item_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:66
Method
get_balance_of
(&self, collection_id: u64, owner: AccountId)
smart_contract/ink-types-node-runtime/calls/lib.rs:203
Function
get_from_seed
Helper function to generate a crypto pair from seed
node/src/chain_spec.rs:19
Method
get_owner
(&self, collection_id: u64, token_id: u64)
smart_contract/ink-types-node-runtime/calls/lib.rs:160
Method
impl_name
()
node/src/command.rs:24
Method
impl_version
()
node/src/command.rs:28
Method
is_clear
(&self)
smart_contract/ink-types-node-runtime/src/lib.rs:135
Method
is_item_owner
(subject: T::AccountId, collection_id: u64, item_id: u64)
pallets/nft/src/lib.rs:795
Method
load_spec
(&self, id: &str)
node/src/command.rs:52
Function
main
()
runtime/build.rs:3
Function
main
()
node/build.rs:3
Function
main
()
node/src/main.rs:10
Method
move_token_index
( collection_id: u64, item_index: u64, old_owner: T::AccountId, new_owner: T::
pallets/nft/src/lib.rs:1056
Function
native_version
()
runtime/src/lib.rs:131
Method
new
(param: Vec<AccountId>)
smart_contract/ink-types-node-runtime/src/lib.rs:54
Method
new
(&mut self)
smart_contract/ink-types-node-runtime/calls/lib.rs:29
Function
new_full
Builds a new service for a full client.
node/src/service.rs:100
Function
new_light
Builds a new service for a light client.
node/src/service.rs:210
Function
nft_approve_and_transfer_from
()
pallets/nft/src/tests.rs:296
Method
post_dispatch
( pre: Self::Pre, info: &DispatchInfoOf<Self::Call>, post_info: &PostDispatchInfoOf<Se
pallets/nft/src/lib.rs:1228
Method
pre_dispatch
( self, who: &Self::AccountId, call: &Self::Call, info: &DispatchInfoOf<Self::
pallets/nft/src/lib.rs:1217
Function
refungible_approve_and_transfer_from
()
pallets/nft/src/tests.rs:355
Function
remove_collection_admin
()
pallets/nft/src/tests.rs:738
Method
remove_token_index
( collection_id: u64, item_index: u64, owner: T::AccountId, )
pallets/nft/src/lib.rs:1037
Function
success
(r: any)
tests/src/substrate/promisify-substrate.ts:13
Method
support_url
()
node/src/command.rs:40
Method
traditional_fee
( len: usize, info: &DispatchInfoOf<T::Call>, tip: BalanceOf<T>, )
pallets/nft/src/lib.rs:1113
Function
transfer_from
()
pallets/nft/src/tests.rs:901
Method
transfer_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