Documentation
¶
Index ¶
Constants ¶
View Source
const (
GuardianKeyArmoredBlock = "WORMHOLE GUARDIAN PRIVATE KEY"
)
Variables ¶
View Source
var AdminClientContractUpgradeTemplateCmd = &cobra.Command{
Use: "contract-upgrade",
Short: "Generate an empty contract upgrade template",
Run: runContractUpgradeTemplate,
}
View Source
var AdminClientFindMissingMessagesCmd = &cobra.Command{ Use: "find-missing-messages [NETWORK] [EMITTER_CHAIN_ID] [EMITTER_ADDRESS_HEX] [TARGET_CHAIN_ID]", Short: "Find sequence number gaps for the given chain ID and emitter address", Run: runFindMissingMessages, Args: cobra.ExactArgs(4), }
View Source
var AdminClientGovernanceVAAVerifyCmd = &cobra.Command{ Use: "governance-vaa-verify [NETWORK] [FILENAME]", Short: "Verify governance vaa in prototxt format (offline)", Run: runGovernanceVAAVerify, Args: cobra.ExactArgs(2), }
View Source
var AdminClientGuardianSetTemplateCmd = &cobra.Command{
Use: "guardian-set-update",
Short: "Generate an empty guardian set template",
Run: runGuardianSetTemplate,
}
View Source
var AdminClientInjectGovernanceVAACmd = &cobra.Command{ Use: "governance-vaa-inject [FILENAME]", Short: "Inject and sign a governance VAA from a prototxt file (see docs!)", Run: runInjectGovernanceVAA, Args: cobra.ExactArgs(1), }
View Source
var AdminClientListNodes = &cobra.Command{
Use: "list-nodes",
Short: "Fetches an aggregated list of guardian nodes",
Run: runListNodes,
}
View Source
var AdminClientShutdownProofCmd = &cobra.Command{
Use: "shutdown-proof",
Short: "Generate an auth proof for shutdown voting on behalf of the guardian.",
Run: runShutdownProofTemplate,
}
View Source
var AdminClientTokenBridgeDestroyContractsCmd = &cobra.Command{
Use: "destroy-unexecuted-sequence-contracts",
Short: "Generate a destroy unexecuted sequence contracts template",
Run: runDestroyUnexecutedSequenceContractsTemplate,
}
View Source
var AdminClientTokenBridgeRegisterChainCmd = &cobra.Command{
Use: "token-bridge-register-chain",
Short: "Generate an empty token bridge chain registration template at specified path",
Run: runTokenBridgeRegisterChainTemplate,
}
View Source
var AdminClientTokenBridgeUpdateConsistencyLevelCmd = &cobra.Command{
Use: "update-consistency-level",
Short: "Generate a update minimal consistency level template",
Run: runUpdateConsistencyLevelTemplate,
}
View Source
var AdminClientTokenBridgeUpdateRefundAddressCmd = &cobra.Command{
Use: "update-refund-address",
Short: "Generate a update refund address consistency level template",
Run: runUpdateRefundAddressTemplate,
}
View Source
var AdminClientTokenBridgeUpgradeContractCmd = &cobra.Command{
Use: "token-bridge-upgrade-contract",
Short: "Generate an empty token bridge contract upgrade template at specified path",
Run: runTokenBridgeUpgradeContractTemplate,
}
View Source
var AdminClientTransferFeeTemplateCmd = &cobra.Command{
Use: "transfer-fee",
Short: "Generate a transfer fee template",
Run: runTransferFeeTemplate,
}
View Source
var AdminClientUpdateMessageFeeTemplateCmd = &cobra.Command{
Use: "update-message-fee",
Short: "Generate an update message fee template",
Run: runUpdateMessageFeeTemplate,
}
View Source
var AdminCmd = &cobra.Command{
Use: "admin",
Short: "Guardian node admin commands",
}
View Source
var DumpVAAByMessageID = &cobra.Command{ Use: "dump-vaa-by-message-id [MESSAGE_ID]", Short: "Retrieve a VAA by message ID (emitterChainId/emitterAddress/targetChainId/sequence) and decode and dump the VAA", Run: runDumpVAAByMessageID, Args: cobra.ExactArgs(1), }
View Source
var KeygenCmd = &cobra.Command{ Use: "keygen [KEYFILE]", Short: "Create guardian key at the specified path", Run: runKeygen, Args: cobra.ExactArgs(1), }
View Source
var NodeCmd = &cobra.Command{
Use: "node",
Short: "Run the guardiand node",
Run: runNode,
}
NodeCmd represents the node command
View Source
var SendObservationRequest = &cobra.Command{ Use: "send-observation-request [CHAIN_ID|CHAIN_NAME] [TX_HASH_HEX]", Short: "Broadcast an observation request for the given chain ID and chain-specific tx_hash", Run: runSendObservationRequest, Args: cobra.ExactArgs(2), }
View Source
var TemplateCmd = &cobra.Command{
Use: "template",
Short: "Guardian governance VAA template commands ",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.