MCPcopy Create free account

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

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

↓ 2 callersFunctionErrInvalidNetAddress
(s string)
lib/error.go:615
↓ 2 callersFunctionErrInvalidNetAddressLen
()
fsm/error.go:55
↓ 2 callersFunctionErrInvalidNumCommittees
()
fsm/error.go:186
↓ 2 callersFunctionErrInvalidProposalHash
()
fsm/error.go:83
↓ 2 callersFunctionErrInvalidQCRootChainHeight
()
lib/error.go:491
↓ 2 callersFunctionErrInvalidRLPTx
(err error)
fsm/error.go:262
↓ 2 callersFunctionErrInvalidTxMessage
()
fsm/error.go:23
↓ 2 callersFunctionErrInvalidVDF
()
lib/error.go:535
↓ 2 callersFunctionErrInvalidValidatorIndex
()
lib/error.go:543
↓ 2 callersFunctionErrMaxMessageSize
()
p2p/error.go:52
↓ 2 callersFunctionErrMinimumOrderSize
()
fsm/error.go:226
↓ 2 callersFunctionErrMismatchConsBlockHash
()
lib/error.go:671
↓ 2 callersFunctionErrMismatchEvidenceAndHeader
()
lib/error.go:595
↓ 2 callersFunctionErrMismatchHeaderBlockHash
()
lib/error.go:679
↓ 2 callersFunctionErrMismatchQCBlockHash
()
lib/error.go:675
↓ 2 callersFunctionErrNewHeight
()
lib/error.go:479
↓ 2 callersFunctionErrNilBlockHeader
()
lib/error.go:395
↓ 2 callersFunctionErrNilNetworkID
()
lib/error.go:423
↓ 2 callersFunctionErrNoSubsidizedCommittees
(chainId uint64)
lib/error.go:824
↓ 2 callersFunctionErrNonEquivocatingVote
()
lib/error.go:575
↓ 2 callersFunctionErrNonNilBlock
()
lib/error.go:387
↓ 2 callersFunctionErrNonSubsidizedCommittee
()
fsm/error.go:222
↓ 2 callersFunctionErrOpenDB
(err error)
store/error.go:9
↓ 2 callersFunctionErrPointHolderNotFound
()
lib/error.go:836
↓ 2 callersFunctionErrProtoParse
(err error)
lib/error.go:767
↓ 2 callersFunctionErrPublicKeySize
()
fsm/error.go:71
↓ 2 callersFunctionErrRecipientAddressEmpty
()
fsm/error.go:39
↓ 2 callersFunctionErrStakeBelowMininum
()
fsm/error.go:286
↓ 2 callersFunctionErrStoreDelete
(err error)
store/error.go:33
↓ 2 callersFunctionErrStoreGet
(err error)
store/error.go:37
↓ 2 callersFunctionErrStoreSet
(err error)
store/error.go:29
↓ 2 callersFunctionErrStringToCommittee
(s string)
lib/error.go:820
↓ 2 callersFunctionErrTimeMachine
(err error)
lib/error.go:800
↓ 2 callersFunctionErrToAny
(err error)
lib/error.go:371
↓ 2 callersFunctionErrTooManyDexReceipts
()
lib/error.go:860
↓ 2 callersFunctionErrTxFeeBelowStateLimit
()
fsm/error.go:27
↓ 2 callersFunctionErrUnauthorizedTx
()
fsm/error.go:19
↓ 2 callersFunctionErrUnknownMessage
(x lib.MessageI)
fsm/error.go:87
↓ 2 callersFunctionErrValidatorIsADelegate
()
fsm/error.go:190
↓ 2 callersFunctionErrWrongCertHeight
(got, wanted uint64)
lib/error.go:463
↓ 2 callersFunctionErrWrongRootHeight
()
lib/error.go:483
↓ 2 callersMethodEthGasPrice
EthGasPrice() returns minimum_fee / eth_gas_limit to be compatible with the
cmd/rpc/eth.go:205
↓ 2 callersMethodEthGetTransactionByHash
EthGetTransactionByHash() returns an EIP-1559 compatible tx + receipt
cmd/rpc/eth.go:609
↓ 2 callersMethodEventAutoBeginUnstaking
EventAutoBeginUnstaking() adds a validator automatically begin the unstaking process event
fsm/event.go:23
↓ 2 callersMethodEventAutoPause
EventAutoPause() adds a validator automatically paused event
fsm/event.go:18
↓ 2 callersMethodEventDexLiquidityDeposit
EventDexLiquidityDeposit() adds an AMM liquidity deposit event to the indexer
fsm/event.go:74
↓ 2 callersMethodEventDexLiquidityWithdraw
EventDexLiquidityWithdraw() adds a liquidity withdraw event to the indexer
fsm/event.go:84
↓ 2 callersMethodEventFinishUnstaking
EventFinishUnstaking() adds a validator completing the unstaking process event
fsm/event.go:28
↓ 2 callersMethodEventOrderBookSwap
EventOrderBookSwap() adds an order book token swap event to the indexer
fsm/event.go:33
↓ 2 callersMethodEventReward
EventReward() adds a validator rewarded event
fsm/event.go:8
↓ 2 callersMethodFindMessageDescriptorForTypeURL
FindMessageDescriptorForTypeURL() uses the formal type url to ID the proto message descriptor
lib/codec.go:209
↓ 2 callersMethodForceUnstakeMaxPaused
ForceUnstakeMaxPaused() forcefully unstakes validators who have reached MaxPauseHeight and removes their 'paused' key EXPLAINER: Addresses under the (
fsm/automatic.go:223
↓ 2 callersMethodForceUnstakeValidator
ForceUnstakeValidator() automatically begins unstaking the validator
fsm/byzantine.go:237
↓ 2 callersFunctionFromAny
(any: any)
plugin/typescript/src/contract/plugin.ts:387
↓ 2 callersFunctionFromAny
FromAny() converts an anypb.Any type back into a proto.Message
plugin/go/contract/plugin.go:332
↓ 2 callersMethodFundCommitteeRewardPools
* This file contains logic for 'committees' or validator sets responsible for 'nestedChain' consensus */ FundCommitteeRewardPools() mints newly create
fsm/committee.go:14
↓ 2 callersMethodGetAccountsPaginated
GetAccountsPaginated() returns a page of Account structures in the state
fsm/account.go:58
↓ 2 callersMethodGetBookPeers
GetBookPeers() returns all peers in the PeerBook
p2p/book.go:396
↓ 2 callersMethodGetDelegates
DELEGATIONS BELOW GetDelegates returns the active delegates for a given chainId. If MaximumDelegatesPerCommittee (from governance params) is 0, it wil
fsm/committee.go:333
↓ 2 callersMethodGetDexPrices
GetDexPrices() returns the prices for all 'locked' batches
fsm/dex.go:687
↓ 2 callersMethodGetEndHeight
()
fsm/gov_params.go:683
↓ 2 callersMethodGetFailedForAddress
GetFailedForAddress() returns all the failed transactions in the cache for a given address
lib/mempool.go:396
↓ 2 callersMethodGetIterations
()
lib/crypto/crypto.pb.go:336
↓ 2 callersMethodGetLogLevel
GetLogLevel() parses the log string in the config file into a LogLevel Enum
lib/config.go:93
↓ 2 callersMethodGetLotteryWinner
get the validator set for a chain id using the RPC API
lib/consensus.go:122
↓ 2 callersMethodGetMerkleProof
GetMerkleProof() returns the merkle proof-of-membership for a given key if it exists, and the proof of non-membership otherwise
store/smt.go:644
↓ 2 callersMethodGetNonSigners
GetNonSigners() returns the public keys and corresponding percentage of voting power who are not included in the AggregateSignature
lib/consensus.go:199
↓ 2 callersMethodGetPoolsPaginated
GetPoolsPaginated() returns a particular page of Pool structures in the state
fsm/account.go:262
↓ 2 callersMethodGetReference
()
lib/event.pb.go:223
↓ 2 callersMethodGetSignBytes
a stateless - prune friendly, replay attack / hash collision defense (opposed to sequence)
lib/tx.go:56
↓ 2 callersMethodGetStartHeight
()
fsm/gov_params.go:682
↓ 2 callersMethodGetTotalEscrowed
GetTotalEscrowed() checks all order books for escrowed funds for a specific address
fsm/swap.go:400
↓ 2 callersMethodGetTotalSlashPercent
GetTotalSlashPercent() returns the total percent for a slash
fsm/byzantine.go:424
↓ 2 callersMethodGetTxsByHeightNonPaginated
GetTxsByHeightNonPaginated() returns a slice of transactions ordered by index for a height
store/indexer.go:285
↓ 2 callersMethodGetValidatorsPaginated
GetValidatorsPaginated() returns a page of filtered validators
fsm/validator.go:72
↓ 2 callersMethodHandleByzantine
* This file contains logic regarding byzantine actor handling and bond slashes */ HandleByzantine() handles the byzantine (faulty/malicious) participa
fsm/byzantine.go:12
↓ 2 callersMethodHandleCommitteeSwaps
* This file contains state machine changes related to 'token swapping' */ HandleCommitteeSwaps() when the committee submits a 'certificate results tra
fsm/swap.go:17
↓ 2 callersMethodHandleDexBatchOrders
HandleRemoteChainLockedBatch() executes AMM logic over a 'batch' of limit orders (1) sorts orders pseudorandomly by last block hash (2) determines suc
fsm/dex.go:312
↓ 2 callersMethodHandleDoubleSigners
HandleDoubleSigners() validates, sets, and slashes the list of doubleSigners
fsm/byzantine.go:176
↓ 2 callersMethodHandleMessage
* All things related to transaction payloads (Messages) */ MESSAGE HANDLER CODE BELOW HandleMessage() routes the MessageI to the correct `handler` bas
fsm/message.go:15
↓ 2 callersMethodHandleMessageCertificateResults
HandleMessageCertificateResults() is the proper handler for a `CertificateResults` message
fsm/message.go:321
↓ 2 callersMethodHandleMessageCreateOrder
HandleMessageCreateOrder() is the proper handler for a `CreateOrder` message
fsm/message.go:381
↓ 2 callersMethodHandleMessageDAOTransfer
HandleMessageDAOTransfer() is the proper handler for a `DAO-Transfer` message
fsm/message.go:307
↓ 2 callersMethodHandleMessageDeleteOrder
HandleMessageDeleteOrder() is the proper handler for a `DeleteOrder` message
fsm/message.go:466
↓ 2 callersMethodHandleMessageEditOrder
HandleMessageEditOrder() is the proper handler for a `EditOrder` message
fsm/message.go:412
↓ 2 callersMethodHandleMessageEditStake
HandleMessageEditStake() is the proper handler for a `Edit-Stake` message (Validator already exists in the state)
fsm/message.go:146
↓ 2 callersMethodHandleMessageSend
HandleMessageSend() is the proper handler for a `Send` message
fsm/message.go:56
↓ 2 callersMethodHandleMessageSubsidy
HandleMessageSubsidy() is the proper handler for a `Subsidy` message
fsm/message.go:362
↓ 2 callersMethodHandleMessageUnpause
HandleMessageUnpause() is the proper handler for an `Unpause` message
fsm/message.go:265
↓ 2 callersMethodHandleMessageUnstake
HandleMessageUnstake() is the proper handler for an `Unstake` message
fsm/message.go:199
↓ 2 callersMethodHandlePeerBlock
HandlePeerBlock() validates and handles an inbound certificate (with a block) from a remote peer
controller/block.go:504
↓ 2 callersMethodHashKey
Key() creates a 'HashKey' with a given block hash
lib/dex.go:112
↓ 2 callersFunctionIdFromKey
(k []byte)
fsm/key.go:119
↓ 2 callersMethodIndexDoubleSigner
save a block by hash and height
lib/store.go:53
↓ 2 callersMethodIndexTx
save a quorum certificate by height
lib/store.go:51
↓ 2 callersMethodInitialize
Initialize() initializes a StateMachine object using the StoreI
fsm/state.go:79
↓ 2 callersFunctionInitializeDataDirectory
InitializeDataDirectory() populates the data directory with configuration and data files if missing
cmd/cli/cli.go:155
↓ 2 callersMethodIsProposer
IsProposer() returns true if specific public key is the expected Leader public key
bft/bft.go:812
↓ 2 callersFunctionKeyForAccount
(addr: Uint8Array)
plugin/typescript/src/contract/contract.ts:310
↓ 2 callersFunctionKeyForAccount
KeyForAccount() returns the state database key for an account
plugin/go/contract/contract.go:273
← previousnext →901–1,000 of 5,387, ranked by callers