Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/canopy-network/canopy
/ functions
Functions
5,387 in github.com/canopy-network/canopy
⨍
Functions
5,387
◇
Types & classes
860
↓ 1 callers
Method
unmarshalSupply
unmarshalSupply() converts bytes into the supply
fsm/account.go:555
↓ 1 callers
Method
updatePollResults
updatePollResults() updates the poll results based on the current token power
cmd/rpc/server.go:127
↓ 1 callers
Function
useKeystore
()
cmd/rpc/web/wallet/components/governance.jsx:35
↓ 1 callers
Function
validateAMMFormula
validateAMMFormula validates the swap output matches Uniswap V2 formula
fsm/dex_test.go:3393
↓ 1 callers
Function
validateCrossChainSwap
validateCrossChainSwap tests a complete cross-chain swap following the working pattern
fsm/dex_test.go:2994
↓ 1 callers
Function
validateFinalSystemState
validateFinalSystemState performs comprehensive final validation
fsm/dex_test.go:3353
↓ 1 callers
Function
validateLiquidityDeposit
validateLiquidityDeposit tests a complete liquidity deposit following the working pattern
fsm/dex_test.go:3083
↓ 1 callers
Function
validateLiquidityWithdraw
validateLiquidityWithdraw tests a complete liquidity withdraw following the working pattern
fsm/dex_test.go:3197
↓ 1 callers
Method
validateRegularPeerLimits
validateRegularPeerLimits checks if adding a regular peer exceeds configured limits
p2p/set.go:84
↓ 1 callers
Function
validatorsReq
(page, height, committee)
cmd/rpc/web/explorer/components/api.js:107
↓ 1 callers
Method
verifyAll
verifyAll() verifies a group of signatures and returns a list of bad signatures
lib/crypto/key_batch.go:133
↓ 1 callers
Function
verifyProof
verifyProof() checks the validity of a proof for x and y in the ClassGroup
lib/crypto/vdf.go:230
↓ 1 callers
Method
verifyResponse
verifyResponse validates the block response is ready for the FSM - Response is a proper blockResponse type - A request for it exists in the queue - Re
controller/consensus.go:266
↓ 1 callers
Function
vrfAndCDF
(p SortitionParams)
bft/election_test.go:201
↓ 1 callers
Method
waitForAndHandleWireBytes
waitForAndHandleWireBytes() a rate limited handler of inbound bytes from the wire. Blocks until bytes are received converts bytes into a proto.Message
p2p/conn.go:340
↓ 1 callers
Function
waitForKill
waitForKill() blocks until a kill signal is received
cmd/cli/cli.go:127
↓ 1 callers
Method
waitForResponse
(promise: Promise<any>, requestId: string)
plugin/typescript/src/contract/plugin.ts:285
↓ 1 callers
Method
waitForResponse
waitForResponse() waits for a response from the plugin given a specific pending channel and request ID
plugin/go/contract/plugin.go:225
↓ 1 callers
Method
waitForResponse
waitForResponse() waits for a response from the plugin given a specific pending channel and request ID
lib/plugin.go:490
↓ 1 callers
Function
waitGroupTimeout
(t *testing.T, wg *sync.WaitGroup)
p2p/p2p_test.go:37
Function
AccSumTabCol
({ detail, i, state, setState })
cmd/rpc/web/wallet/components/account.jsx:499
Function
Accord
({ state, setState, title, keyName, targetName, buttons, showPwd, placeholder = placeholders.p
cmd/rpc/web/wallet/components/governance.jsx:434
Function
Account
* Constructs a new Account. * @memberof types * @classdesc Represents an Account. * @implements IAccount * @constr
plugin/typescript/tutorial/src/proto/index.js:39
Function
Account
* Constructs a new Account. * @memberof types * @classdesc Represents an Account. * @implements IAccount * @constr
plugin/typescript/tutorial/src/proto/index.cjs:39
Function
Account
* Constructs a new Account. * @memberof types * @classdesc Represents an Account. * @implements IAccount * @constr
plugin/typescript/src/proto/index.js:39
Function
Account
* Constructs a new Account. * @memberof types * @classdesc Represents an Account. * @implements IAccount * @constr
plugin/typescript/src/proto/index.cjs:39
Method
Account
(height uint64, address string)
cmd/rpc/client.go:170
Function
Accounts
({ keygroup, account, validator, setActiveKey, params })
cmd/rpc/web/wallet/components/account.jsx:80
Method
Accounts
(height uint64, params lib.PageParams)
cmd/rpc/client.go:176
Method
Add
Add() adds a valid transaction to the results
lib/tx.go:393
Method
AddSigner
AddSigner() adds a signature to the list to later be aggregated, the index represents the signer's index on the fixed order of the public key list
lib/crypto/bls.go:304
Method
AddTransactions
AddTransaction() inserts a new unconfirmed Transaction to the Pool and returns if this addition requires a recheck of the Mempool due to dropping or r
lib/mempool.go:58
Method
AddVote
(proposal json.RawMessage, approve bool)
cmd/rpc/client.go:121
Method
Address
Address() returns the short version of the public key Address format varies between chains: - Cosmos, Harmony, Binance, Avalanche RIPEMD-160(SHA-256(p
lib/crypto/secp256k1.go:162
Method
Address
Address() returns the short version of the public key
lib/crypto/eth_secp256k1.go:90
Method
Address
Address() returns the short version of the public key
lib/crypto/ed25519.go:104
Method
Address
Address() returns the short version of the public key
lib/crypto/bls.go:181
Method
AggregateSignatures
AggregateSignatures() aggregates multiple signatures into a single 96 byte signature
lib/crypto/bls.go:284
Function
Any
* Constructs a new Any. * @memberof google.protobuf * @classdesc Represents an Any. * @implements IAny
plugin/typescript/tutorial/src/proto/index.js:9904
Function
Any
* Constructs a new Any. * @memberof google.protobuf * @classdesc Represents an Any. * @implements IAny
plugin/typescript/tutorial/src/proto/index.cjs:9904
Function
Any
* Constructs a new Any. * @memberof google.protobuf * @classdesc Represents an Any. * @implements IAny
plugin/typescript/src/proto/index.js:9336
Function
Any
* Constructs a new Any. * @memberof google.protobuf * @classdesc Represents an Any. * @implements IAny
plugin/typescript/src/proto/index.cjs:9336
Function
App
({ Component, pageProps })
cmd/rpc/web/wallet/pages/_app.js:6
Function
App
({ Component, pageProps })
cmd/rpc/web/explorer/pages/_app.js:4
Method
ArchiveIterator
ArchiveIterator() creates a new iterator for all versions under the given prefix in the BadgerDB transaction
store/txn.go:178
Method
ArchiveIterator
ArchiveIterator returns an iterator for all keys with the given prefix TODO: Currently not working, VersionedIterator must be modified to support arch
store/versioned_store.go:197
Method
BeginBlock
BeginBlock() is the fsm calling the begin_block function of the plugin
lib/plugin.go:94
Method
BlockByHash
(hash string)
cmd/rpc/client.go:73
Method
BlockByHeight
(height uint64)
cmd/rpc/client.go:67
Method
Blocks
(params lib.PageParams)
cmd/rpc/client.go:79
Method
Bytes
Bytes returns the byte representation of the private key
plugin/go/crypto/bls.go:52
Method
Bytes
Bytes returns the byte representation of the public key
plugin/go/crypto/bls.go:71
Method
Bytes
Bytes returns the byte representation of the private key
plugin/go/tutorial/crypto/bls.go:52
Method
Bytes
Bytes returns the byte representation of the public key
plugin/go/tutorial/crypto/bls.go:71
Method
Bytes
Bytes() casts the public key to bytes
lib/crypto/key.go:15
Method
Bytes
()
lib/crypto/key.go:30
Function
BytesToEthSECP256K1Private
BytesToEthSECP256K1Private() converts bytes to SECP256K1 private key using go-ethereum
lib/crypto/eth_secp256k1.go:32
Function
CanaJSON
({ state, setState, JsonViewVariant })
cmd/rpc/web/wallet/components/canaJSON.jsx:6
Function
CanaLog
({ text })
cmd/rpc/web/wallet/components/canalog.jsx:4
Method
Cancel
Closes() Closes the writer. Any new writes will result in error and possibly panic depending on the implementation.
store/txn.go:189
Function
Cards
(props)
cmd/rpc/web/explorer/components/cards.jsx:199
Function
CatchPanic
CatchPanic() catches any panic in the function call or child function calls
lib/util.go:768
Method
CertByHeight
(height uint64)
cmd/rpc/client.go:140
Method
ChainHeight
()
bft/mock_test.go:519
Method
ChainIds
()
fsm/dex_test.go:3476
Method
ChainIds
ChainIds() returns a list of chainIds for subscribers
cmd/rpc/sock.go:138
Method
Check
Check() validates a +2/3 majority of the signature using the payload bytes and the ValidatorSet NOTE: "partialQC" means the signature is valid but doe
lib/consensus.go:155
Method
Check
Check() checks the validity of the view and optionally enforce *heights* (plugin height and committee height)
lib/consensus.go:482
Method
Check
* This file contains the default implementation of a 'Block' which is used as 'block bytes' in a quorum certificate */ BLOCK HEADER CODE BELOW Check(
lib/block.go:18
Method
Check
BLOCK CODE BELOW Check() 'sanity checks' the Block structure
lib/block.go:190
Method
Check
()
lib/tx_test.go:361
Method
Check
Check() validates the Params object
fsm/gov_params.go:94
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:54
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:103
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:167
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:228
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:255
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:278
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:301
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:396
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:451
Method
Check
interface enforcement Check() validates the Message structure
fsm/message_helpers.go:512
Method
Check
Check() validates the Message structure
fsm/message_helpers.go:568
Method
Check
Check() validates the Message structure
fsm/message_helpers.go:629
Method
Check
Check() validates the Message structure
fsm/message_helpers.go:687
Method
Check
Check() validates the Message structure
fsm/message_helpers.go:722
Method
Check
Check() validates the Message structure
fsm/message_helpers.go:774
Method
Check
Check() validates the Message structure
fsm/message_helpers.go:820
Method
Check
Check checks for updates of the current binary
cmd/auto-update/updater.go:66
Method
Check
Check() validates the double sign evidence
bft/evidence.go:203
Method
CheckBasic
TRANSACTION CODE BELOW CheckBasic() is a stateless validation function for a Transaction object
lib/tx.go:83
Method
CheckBasic
A CertificateResult contains actions on stakeholders as determined by the consensus process CERTIFICATE RESULT CODE BELOW CheckBasic() provides basic
lib/certificate.go:320
Method
CheckBasic
REWARD RECIPIENT CODE BELOW CheckBasic() performs a basic 'sanity check' on the structure
lib/certificate.go:411
Method
CheckBasic
SLASH RECIPIENTS CODE BELOW CheckBasic() validates the ProposalMeta structure
lib/certificate.go:566
Method
CheckBasic
DEX BATCH CODE BELOW CheckBasic() performs stateless validation on a DexBatch object
lib/certificate.go:862
Method
CheckBasic
CHECKPOINT CODE BELOW CheckBasic() performs stateless validation on a Checkpoint object
lib/certificate.go:1010
Method
CheckTx
CheckTx() is the fsm calling the check_tx function of the plugin
lib/plugin.go:122
Method
Checkpoint
(height, id uint64)
cmd/rpc/client.go:284
Method
Clear
Clear() empties the mempool and resets its state
lib/mempool.go:157
Method
Close
Close() is a no-op in this iterator, as no resources need to be released
lib/mempool.go:210
← previous
next →
2,301–2,400 of 5,387, ranked by callers