MCPcopy Create free account

hub / github.com/canopy-network/canopy / functions

Functions5,387 in github.com/canopy-network/canopy

↓ 1 callersFunctionassertInvariant
(t *testing.T, sim *dexSim, step int, seed int64, history []string)
fsm/dex_test.go:2699
↓ 1 callersMethodbitAtIndex
bitAtIndex() returns a bit at an index (0 indexed and left to right) within a byte
store/smt.go:1014
↓ 1 callersFunctioncString
cString() returns a string with a specific color applied
lib/log.go:274
↓ 1 callersFunctioncalculateAMMOutput
calculateAMMOutput calculates expected output using Uniswap V2 formula
fsm/dex_test.go:2988
↓ 1 callersMethodcalculateRewardPerCommittee
(t *testing.T, numberOfSubsidizedCommittees int)
fsm/automatic_test.go:600
↓ 1 callersFunctioncalculateVDF
calculateVDF() executes the VDF and returns the output (y) and the proof
lib/crypto/vdf.go:125
↓ 1 callersFunctionchainRequest
(chain_id)
cmd/rpc/web/explorer/components/api.js:79
↓ 1 callersMethodcheckBasic
checkBasic() performs basic sanity checks on the Message
bft/msg.go:273
↓ 1 callersFunctioncheckMemoForStartPoll
checkMemoForStartPoll() checks a memo for a start poll embed
fsm/gov_params.go:628
↓ 1 callersFunctioncheckMemoForVotePoll
checkMemoForVotePoll() checks a memo for a vote poll embed
fsm/gov_params.go:644
↓ 1 callersFunctioncheckOrders
checkOrders() validates the (swap) orders within the transaction
fsm/message_helpers.go:992
↓ 1 callersFunctioncheckPercent
checkPercent() validates the percent sent in the Message
fsm/message_helpers.go:875
↓ 1 callersFunctioncheckPubKey
checkPubKey() validates the public key in the Message
fsm/message_helpers.go:936
↓ 1 callersMethodcheckUnread
checkUnread() checks to see if the 'unread buffer' was filled from a partially read chunk
p2p/encrypt.go:216
↓ 1 callersMethodcheckpointFromFile
checkpointFromFile returns a cached checkpoint for a given chain and height, or nil if not found.
controller/controller.go:441
↓ 1 callersMethodcleanup
cleanup releases used memory in stream
p2p/p2p.go:411
↓ 1 callersMethodclose
Close the plugin gracefully.
plugin/python/contract/plugin.py:128
↓ 1 callersMethodcollectLssDeleteKeys
collectLssDeleteKeys collects state deletes from the current txn before Flush() clears them.
store/store.go:520
↓ 1 callersFunctionconvertBytes
(a, b = 2)
cmd/rpc/web/explorer/components/util.js:49
↓ 1 callersFunctionconvertCardData
(state, v)
cmd/rpc/web/explorer/components/modal.jsx:19
↓ 1 callersFunctionconvertCertificateResults
(qc)
cmd/rpc/web/explorer/components/modal.jsx:78
↓ 1 callersFunctionconvertCommitteeSupply
(v, total)
cmd/rpc/web/explorer/components/table.jsx:176
↓ 1 callersFunctionconvertGovernanceParams
(v)
cmd/rpc/web/explorer/components/table.jsx:111
↓ 1 callersFunctionconvertIfNumber
(str)
cmd/rpc/web/explorer/components/util.js:74
↓ 1 callersFunctionconvertNumberWCommas
(x)
cmd/rpc/web/explorer/components/util.js:19
↓ 1 callersFunctionconvertValue
(k, v, openModal, rowData)
cmd/rpc/web/explorer/components/table.jsx:18
↓ 1 callersFunctioncopy
(state, setState, detail, toastText = "Copied!")
cmd/rpc/web/explorer/components/util.js:155
↓ 1 callersMethodcopy
copy() returns a shallow copy of the MempoolTxs
lib/mempool.go:304
↓ 1 callersFunctioncreateAdminRouter
createRouter initializes and returns a new HTTP router with predefined route handlers.
cmd/rpc/routes.go:397
↓ 1 callersFunctioncreateDAOTransferTx
(address, amount, startBlock, endBlock, memo, fee, password)
cmd/rpc/web/wallet/components/governance.jsx:205
↓ 1 callersFunctioncreateParamChangeTx
(address, paramSpace, paramKey, paramValue, startBlock, endBlock, memo, fee, password)
cmd/rpc/web/wallet/components/governance.jsx:212
↓ 1 callersFunctioncreateRouter
createRouter initializes and returns a new HTTP router with predefined route handlers.
cmd/rpc/routes.go:321
↓ 1 callersMethodcreateSubtree
createSubtree() initializes the subtree structure
store/smt.go:514
↓ 1 callersFunctiondeDuplicate
(s []string)
store/fuzz_test.go:119
↓ 1 callersMethoddebugDumpHeaderDiff
debugDumpHeaderDiff() logs the differences between the candidate and the constructed
controller/block.go:713
↓ 1 callersMethoddecConnCount
decConnCount() remove an 'active' connection
lib/peer.go:670
↓ 1 callersFunctiondefault_config
Return the default configuration (matching Go's DefaultConfig).
plugin/python/contract/plugin.py:59
↓ 1 callersMethoddel
(publicKey []byte)
p2p/set.go:340
↓ 1 callersFunctiondelVoteAPI
(json)
cmd/rpc/web/wallet/components/governance.jsx:169
↓ 1 callersMethoddelete
delete() batch deletes a number of transactions
lib/mempool.go:246
↓ 1 callersMethoddeleteAll
deleteAll() deletes all the keys for a prefix
store/indexer.go:713
↓ 1 callersFunctiondeliverRemoteReceipts
(t *testing.T, sim *dexSim, rng *rand.Rand)
fsm/dex_test.go:2654
↓ 1 callersMethoddeliver_tx
DeliverTx is code that is executed to apply a transaction.
plugin/python/contract/contract.py:222
↓ 1 callersFunctiondetectUnknownProtoFields
detectUnknownProtoFields() checks for unknown protobuf messages, caps list/map sizes, and enforces recursion limits
lib/util.go:322
↓ 1 callersMethoddialWithBackoff
dialWithBackoff() establishes a websocket connection given a root chain configuration
cmd/rpc/sock.go:369
↓ 1 callersMethoddrop
drop() removes the bottom (the lowest fee) X percent of Transactions
lib/mempool.go:283
↓ 1 callersMethodemptyInbox
emptyInbox() discards all unread messages for a specific topic
controller/controller.go:412
↓ 1 callersFunctionerr_insufficient_funds
()
plugin/python/contract/error.py:55
↓ 1 callersFunctionerr_invalid_amount
()
plugin/python/contract/error.py:71
↓ 1 callersFunctionerr_invalid_fsm_to_plugin_message
(t: Any)
plugin/python/contract/error.py:51
↓ 1 callersFunctionerr_tx_fee_below_state_limit
()
plugin/python/contract/error.py:75
↓ 1 callersMethodestimateIterationsPerSecond
estimateIterationsPerSecond() runs a quick VDF test to determine what the iterations per second is on this processor NOTE: longer target times have be
lib/vdf.go:141
↓ 1 callersFunctionethDataToMsgSend
ethDataToMsgSend() translates the 'data' from an RLP transaction into a MessageSend - not protobuf, actual ABI encoding to allow native ERC20 transfer
fsm/ethereum.go:150
↓ 1 callersFunctionevaluate
evaluate() performs an optimized evaluation of h ^ (2^T // B) on a ClassGroup
lib/crypto/vdf.go:55
↓ 1 callersMethodeventHeightAndIndexKey
(height, index uint64)
store/indexer.go:776
↓ 1 callersMethodeventHeightKey
(height uint64)
store/indexer.go:772
↓ 1 callersFunctionexecCommand
execCommand executres the named program with the provided arguments, returning its output
cmd/rpc/admin.go:841
↓ 1 callersFunctionexpectedCandidates
expectedCandidates() returns the number of expected candidates based on the committee size within the defined limits
bft/election.go:147
↓ 1 callersFunctionfdCount
fdCount returns the number of open file descriptors for the provided process ID
cmd/rpc/admin.go:815
↓ 1 callersFunctionfile_account_proto_init
()
plugin/go/tutorial/contract/account.pb.go:176
↓ 1 callersFunctionfile_bft_proto_init
()
bft/bft.pb.go:348
↓ 1 callersFunctionfile_block_proto_init
()
lib/block.pb.go:487
↓ 1 callersFunctionfile_codec_proto_init
()
lib/codec/codec.pb.go:117
↓ 1 callersFunctionfile_codec_proto_rawDescGZIP
()
lib/codec/codec.pb.go:97
↓ 1 callersFunctionfile_crypto_proto_init
()
lib/crypto/crypto.pb.go:396
↓ 1 callersFunctionfile_genesis_proto_init
()
fsm/genesis.pb.go:251
↓ 1 callersFunctionfile_genesis_proto_rawDescGZIP
()
fsm/genesis.pb.go:213
↓ 1 callersFunctionfile_indexer_proto_init
()
fsm/indexer.pb.go:308
↓ 1 callersFunctionfile_message_proto_init
()
fsm/message.pb.go:1406
↓ 1 callersFunctionfile_p2p_proto_init
()
p2p/p2p.pb.go:350
↓ 1 callersFunctionfile_peer_proto_init
()
lib/peer.pb.go:619
↓ 1 callersFunctionfile_plugin_proto_init
()
plugin/go/tutorial/contract/plugin.pb.go:1884
↓ 1 callersFunctionfile_plugin_proto_init
()
lib/plugin.pb.go:1898
↓ 1 callersFunctionfile_store_proto_init
()
lib/store.pb.go:223
↓ 1 callersFunctionfile_wrapper_proto_init
()
lib/wrapper.pb.go:168
↓ 1 callersFunctionfilterAndSortItems
(items, tab)
cmd/rpc/web/explorer/components/modal.jsx:305
↓ 1 callersMethodfilterBadIPs
filterBadIPs() returns the net address string and blocks any undesirable ip addresses
p2p/p2p.go:540
↓ 1 callersFunctionfilterData
(data, filterText)
cmd/rpc/web/explorer/components/table.jsx:69
↓ 1 callersMethodflush
flush() flushes all operations to the underlying writer with a prefix if given
store/txn.go:238
↓ 1 callersMethodflushTo
flushTo() returns the prefixes to flush to; state uses special logic to flush
store/txn.go:230
↓ 1 callersFunctionformatUint64
(u: Long)
plugin/typescript/src/contract/contract.ts:324
↓ 1 callersFunctionformatUint64
(u uint64)
plugin/go/contract/contract.go:287
↓ 1 callersFunctionformat_uint64
Format uint64 as big-endian bytes.
plugin/python/contract/contract.py:94
↓ 1 callersFunctiongenOps
(sim *dexSim, rng *rand.Rand)
fsm/dex_test.go:2548
↓ 1 callersMethodgeneratePrefixRange
generatePrefixRange() generates a 20 byte key that acts as the 'borders' for a 3 bit prefix example: prefix 0 bitCount 4 returns 0000 and 0111
store/smt.go:550
↓ 1 callersFunctiongenerateProof
generateProof() generates a proof given input x and final output y Equation y = x ^ (2 ^T) and pi
lib/crypto/vdf.go:158
↓ 1 callersMethodget
get() performs SeekGE to ^version and return the first entry.
store/versioned_store.go:119
↓ 1 callersMethodget
(height uint64)
cmd/rpc/types.go:403
↓ 1 callersFunctiongetAccountType
()
cmd/rpc/web/wallet/components/account.jsx:164
↓ 1 callersFunctiongetAddressFromNickname
getAddressFromNickname retrieves the account address for the supplied nickname
cmd/rpc/admin.go:798
↓ 1 callersFunctiongetAndIncPseudoNonce
latest known height getAndIncPseudoNonce() retrieves and increments the pseudo-nonce
cmd/rpc/eth.go:1063
↓ 1 callersFunctiongetBashProfile
()
cmd/cli/cli.go:403
↓ 1 callersFunctiongetBlock
getBlock() calculates the ith block of the form 2^T // B, where the sum of all get_block(i) * 2^ki equals t^T // B
lib/crypto/vdf.go:277
↓ 1 callersFunctiongetCardAndTableData
(setLoading, currentState = state)
cmd/rpc/web/explorer/pages/index.js:42
↓ 1 callersFunctiongetCardDataOnly
()
cmd/rpc/web/explorer/pages/index.js:75
↓ 1 callersFunctiongetCardFooter
(props, consensusDuration, idx)
cmd/rpc/web/explorer/components/cards.jsx:145
↓ 1 callersFunctiongetCardHeader
(props, idx)
cmd/rpc/web/explorer/components/cards.jsx:50
↓ 1 callersFunctiongetCardNote
(props, idx)
cmd/rpc/web/explorer/components/cards.jsx:122
↓ 1 callersFunctiongetCardOnClick
(props, index)
cmd/rpc/web/explorer/components/cards.jsx:185
↓ 1 callersFunctiongetCardRightAligned
(props, idx)
cmd/rpc/web/explorer/components/cards.jsx:104
← previousnext →2,001–2,100 of 5,387, ranked by callers