code.vegaprotocol.io/vega@v0.79.0/core/types/witness.go (about) 1 // Copyright (C) 2023 Gobalsky Labs Limited 2 // 3 // This program is free software: you can redistribute it and/or modify 4 // it under the terms of the GNU Affero General Public License as 5 // published by the Free Software Foundation, either version 3 of the 6 // License, or (at your option) any later version. 7 // 8 // This program is distributed in the hope that it will be useful, 9 // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 // GNU Affero General Public License for more details. 12 // 13 // You should have received a copy of the GNU Affero General Public License 14 // along with this program. If not, see <http://www.gnu.org/licenses/>. 15 16 package types 17 18 import proto "code.vegaprotocol.io/vega/protos/vega/commands/v1" 19 20 type NodeVoteType = proto.NodeVote_Type 21 22 const ( 23 NodeVoteTypeUnspecified NodeVoteType = proto.NodeVote_TYPE_UNSPECIFIED 24 NodeVoteTypeStakeDeposited NodeVoteType = proto.NodeVote_TYPE_STAKE_DEPOSITED 25 NodeVoteTypeStakeRemoved NodeVoteType = proto.NodeVote_TYPE_STAKE_REMOVED 26 NodeVoteTypeFundsDeposited NodeVoteType = proto.NodeVote_TYPE_FUNDS_DEPOSITED 27 NodeVoteTypeSignerAdded NodeVoteType = proto.NodeVote_TYPE_SIGNER_ADDED 28 NodeVoteTypeSignerRemoved NodeVoteType = proto.NodeVote_TYPE_SIGNER_REMOVED 29 NodeVoteTypeBridgeStopped NodeVoteType = proto.NodeVote_TYPE_BRIDGE_STOPPED 30 NodeVoteTypeBridgeResumed NodeVoteType = proto.NodeVote_TYPE_BRIDGE_RESUMED 31 NodeVoteTypeAssetListed NodeVoteType = proto.NodeVote_TYPE_ASSET_LISTED 32 NodeVoteTypeAssetLimitsUpdated NodeVoteType = proto.NodeVote_TYPE_LIMITS_UPDATED 33 NodeVoteTypeStakeTotalSupply NodeVoteType = proto.NodeVote_TYPE_STAKE_TOTAL_SUPPLY 34 NodeVoteTypeSignerThresholdSet NodeVoteType = proto.NodeVote_TYPE_SIGNER_THRESHOLD_SET 35 NodeVoteTypeGovernanceValidateAsset NodeVoteType = proto.NodeVote_TYPE_GOVERNANCE_VALIDATE_ASSET 36 NodeVoteTypeEthereumContractCallResult NodeVoteType = proto.NodeVote_TYPE_ETHEREUM_CONTRACT_CALL_RESULT 37 NodeVoteTypeEthereumHeartbeat NodeVoteType = proto.NodeVote_TYPE_ETHEREUM_HEARTBEAT 38 )