MCPcopy Create free account

hub / github.com/atomicals-community/atomicals-go / functions

Functions209 in github.com/atomicals-community/atomicals-go

↓ 47 callersFunctionNew
(code int64, msg string)
pkg/errors/api.go:13
↓ 19 callersMethodError
()
pkg/errors/api.go:7
↓ 13 callersFunctionAtomicalsID
(txID string, voutIndex int64)
utils/atomicalsID.go:9
↓ 12 callersMethodAutoMigrate
(db *gorm.DB)
repo/postsql/atomicalsMod.go:32
↓ 11 callersMethodCreateTable
(model interface{})
repo/postsql/model.go:20
↓ 11 callersMethodDropTable
()
repo/postsql/model.go:17
↓ 11 callersMethodInit
(db *gorm.DB)
repo/postsql/atomicalsMod.go:23
↓ 11 callersFunctionnewDefaultModel
(table string, db *gorm.DB)
repo/postsql/model.go:10
↓ 10 callersFunctionRotateLeft32
(x uint32, k int)
utils/sha256/math.go:3
↓ 8 callersFunctionParseBitwork
is_valid_bitwork_string
utils/bitwork.go:59
↓ 6 callersFunctionMulSatoshi
(value float64)
utils/utils.go:19
↓ 6 callersFunctionSha256
(data []byte)
utils/utils.go:9
↓ 5 callersMethodIsImmutable
is_immutable
atomicals-core/witness/check.go:66
↓ 5 callersFunctionIsProofOfWorkPrefixMatch
is_proof_of_work_prefix_match
utils/bitwork.go:18
↓ 5 callersMethodIsValidBitwork
()
atomicals-core/witness/check.go:23
↓ 4 callersFunctionCheckValidateProof
check_validate_proof
pkg/merkle/merkle.go:16
↓ 4 callersFunctionIsUnspendableGenesis
is_unspendable_genesis
utils/scriptPubKey.go:15
↓ 4 callersFunctionIsUnspendableLegacy
is_unspendable_legacy
utils/scriptPubKey.go:9
↓ 4 callersMethodNftUTXOsByLocationID
(locationID string)
repo/api.go:22
↓ 4 callersMethodWrite
(p []byte)
utils/sha256/sha.go:37
↓ 4 callersMethodaddFtLocationID
ft
repo/bloomFilter.go:17
↓ 4 callersFunctionisTxidValidForPerpetualBitwork
is_txid_valid_for_perpetual_bitwork
atomicals-core/operation/operationDmt.go:112
↓ 4 callersFunctionis_sanitized_dict_whitelist_only
(d: dict, allow_bytes=False)
atomicals-core/witness/python-parse/util.py:253
↓ 3 callersMethodCheckRequest
()
atomicals-core/witness/check.go:76
↓ 3 callersMethodGetBlockByHeight
(height int64)
pkg/btcsync/block.go:48
↓ 3 callersMethodGetTxHeightByTxID
(txID string)
pkg/btcsync/tx.go:8
↓ 3 callersMethodIsSplitOperation
is_split_operation
atomicals-core/witness/check.go:51
↓ 3 callersMethodIsWithinAcceptableBlocksForGeneralReveal
is_within_acceptable_blocks_for_general_reveal
atomicals-core/witness/check.go:19
↓ 3 callersMethodIsWithinAcceptableBlocksForNameReveal
is_within_acceptable_blocks_for_name_reveal
atomicals-core/witness/check.go:14
↓ 3 callersMethodNftUTXOByAtomicalsID
(atomicalsID string)
repo/api.go:21
↓ 3 callersMethodgetTxHeight
(commitTxID string)
atomicals-core/operation/syncTxHeight.go:34
↓ 3 callersFunctionparse_atomicals_data_definition_operation
Extract the payload definitions
atomicals-core/witness/python-parse/util.py:133
↓ 2 callersFunctionComputeParentHash
(leftHash, rightHash []byte)
pkg/merkle/merkle.go:50
↓ 2 callersMethodDistributedFtByName
(tickerName string)
repo/api.go:32
↓ 2 callersMethodFtUTXOsByLocationID
(locationID string)
repo/api.go:31
↓ 2 callersMethodGetBlockByHeightSync
(blockHeight int64)
pkg/btcsync/block.go:10
↓ 2 callersMethodGetBlockCount
()
pkg/btcsync/block.go:61
↓ 2 callersMethodGetTransaction
(txID string)
pkg/btcsync/tx.go:43
↓ 2 callersMethodIsDftBitworkRolloverActivated
is_dft_bitwork_rollover_activated
atomicals-core/witness/check.go:9
↓ 2 callersFunctionIsDmintActivated
is_dmint_activated sort_fifo
utils/blockHeight.go:4
↓ 2 callersFunctionIsMintPowValid
(txid, mintPowCommit string)
utils/bitwork.go:100
↓ 2 callersFunctionIsValidTicker
is_valid_ticker_string
utils/name.go:9
↓ 2 callersFunctionParseMintBitwork
(commitTxID, mintBitworkc, mintBitworkr string)
utils/bitwork.go:11
↓ 2 callersFunctionParseWitness
# Parses and detects valid Atomicals protocol operations in a witness script # Stops when it finds the first operation in the first input
atomicals-core/witness/witness.go:30
↓ 2 callersFunctionReadJSONFromJSFile
(filePath string)
pkg/conf/config.go:17
↓ 2 callersMethodaddNftLocationID
(locationID string)
repo/bloomFilter.go:54
↓ 2 callersMethodblock
(p []byte)
utils/sha256/sha.go:59
↓ 2 callersMethodcheckRule
(rule *witness.RuleInfo, bitworkc_actual, bitworkr_actual string)
atomicals-core/operation/rule.go:14
↓ 2 callersMethodgetModHistory
get_mod_history
atomicals-core/operation/rule.go:60
↓ 2 callersMethodget_applicable_rule_by_height
(parent_atomical_id string, proposed_subnameid string, height int64)
atomicals-core/operation/rule.go:43
↓ 2 callersFunctionnew
(code int64, msg string)
pkg/errors/error.go:26
↓ 2 callersFunctionvalidateRulesData
(rules []*witness.RuleInfo)
atomicals-core/operation/rule.go:107
↓ 1 callersMethodAssignFt
(tx btcjson.TxRawResult, operation *witness.WitnessAtomicalsOperation, deleteFtMap map[string][]*postsql.UTXOF
atomicals-core/operation/transferFt.go:90
↓ 1 callersMethodAtomicalsTxHeight
(txID string)
repo/api.go:17
↓ 1 callersFunctionAutoMigrate
(db *gorm.DB)
repo/postsql/init/init.go:24
↓ 1 callersMethodBlockByHeight
(blockHeight int64)
pkg/btcsync/block.go:20
↓ 1 callersMethodBloomFilter
()
repo/bloomFilter.go:63
↓ 1 callersFunctionCalculate_expected_bitwork
(bitwork_vec string, actual_mints, max_mints, target_increment, starting_target int64)
utils/bitwork.go:110
↓ 1 callersMethodContainerItemByNameHasExist
(container, item string)
repo/api.go:26
↓ 1 callersMethodDirectFtByName
(tickerName string)
repo/api.go:33
↓ 1 callersFunctionDoubleSha256
(x []byte)
utils/utils.go:14
↓ 1 callersMethodFetchBlocks
()
pkg/btcsync/block.go:34
↓ 1 callersMethodGetBlockHash
(blockHeight int64)
pkg/btcsync/block.go:65
↓ 1 callersFunctionGetNextBitworkFullStr
(bitworkVec string, currentPrefixLen int)
utils/bitwork.go:92
↓ 1 callersFunctionInitModels
(db *gorm.DB)
repo/postsql/init/init.go:10
↓ 1 callersFunctionIsCompactAtomicalID
is_compact_atomical_id
utils/atomicalsID.go:22
↓ 1 callersFunctionIsCustomColoring
(height int64)
utils/blockHeight.go:8
↓ 1 callersFunctionIsHexString
(value string)
utils/string.go:9
↓ 1 callersFunctionIsHexStringRegex
is_hex_string_regex
utils/name.go:93
↓ 1 callersMethodIsSplatOperation
is_splat_operation
atomicals-core/witness/check.go:46
↓ 1 callersFunctionIsValidContainer
is_valid_container_string_name
utils/name.go:56
↓ 1 callersFunctionIsValidDmitem
is_valid_container_dmitem_string_name
utils/name.go:75
↓ 1 callersFunctionIsValidRealm
is_valid_realm_string_name
utils/name.go:18
↓ 1 callersFunctionIsValidSubRealm
is_valid_subrealm_string_name
utils/name.go:37
↓ 1 callersMethodLatestItemByContainerName
(container string)
repo/api.go:27
↓ 1 callersMethodLocation
location
repo/api.go:12
↓ 1 callersMethodModHistory
mod
repo/api.go:36
↓ 1 callersFunctionNewSqlDB
(sqlDNS string)
repo/api.go:43
↓ 1 callersFunctionNewZaLop
()
pkg/log/zaplog.go:13
↓ 1 callersMethodNftContainerByNameHasExist
(containerName string)
repo/api.go:25
↓ 1 callersMethodNftRealmByName
(realmName string)
repo/api.go:23
↓ 1 callersMethodNftSubRealmByNameHasExist
(parentRealmAtomicalsID, subRealm string)
repo/api.go:24
↓ 1 callersMethodParseOperation
(orgOp string)
repo/db.go:30
↓ 1 callersMethodReset
()
utils/sha256/sha.go:23
↓ 1 callersMethodRun
()
atomicals-core/operation/traceTx.go:13
↓ 1 callersFunctionSplitAtomicalsID
(atomicalsID string)
utils/atomicalsID.go:13
↓ 1 callersMethodTraceTx
(tx btcjson.TxRawResult, height int64)
atomicals-core/operation/traceTx.go:61
↓ 1 callersFunctionUnpackLeUint16From
(b []byte)
utils/byte.go:9
↓ 1 callersFunctionUnpackLeUint32From
(b []byte)
utils/byte.go:13
↓ 1 callersMethodUpdateDB
(location *postsql.Location, data *AtomicaslData)
repo/api.go:38
↓ 1 callersFunctionValidateProof
(proof []*MerkleNode, computedHash, expectedRootHash []byte)
pkg/merkle/merkle.go:36
↓ 1 callersMethodaddContainer
(container string)
repo/bloomFilter.go:45
↓ 1 callersMethodaddRealm
func (m *Postgres) addDistributedFt(ftName string) { m.bloomFilter[postsql.FtFilter].filter.Add([]byte(fmt.Sprintf("%v_%v", postsql.TypeDistributedFt
repo/bloomFilter.go:36
↓ 1 callersMethodcheckSum
()
utils/sha256/sum.go:7
↓ 1 callersMethoddeployDistributedFt
deployDistributedFt: operation dft
atomicals-core/operation/operationDft.go:14
↓ 1 callersFunctionderive_bitwork_prefix_from_target
(baseBitworkPrefix string, target int64)
utils/bitwork.go:125
↓ 1 callersFunctionfetchAtomicalsAssetFromReferenceIndexer
(atomicalsID string)
atomicals-core/operation/referenceIndexer.go:64
↓ 1 callersFunctionis_density_activated
(height: int)
atomicals-core/witness/python-parse/util.py:273
↓ 1 callersMethodmintDirectFt
mintDirectFt: Mint fungible token with direct fixed supply
atomicals-core/operation/operationFt.go:13
↓ 1 callersMethodmintDistributedFt
mintDistributedFt:operation dmt, Mint tokens of distributed mint type
atomicals-core/operation/operationDmt.go:15
next →1–100 of 209, ranked by callers