85 lines
3.5 KiB
Go
85 lines
3.5 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: cosmos/tx/signing/signing.proto
|
|
|
|
package signing
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/gogo/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
// SignMode represents a signing mode with its own security guarantees
|
|
type SignMode int32
|
|
|
|
const (
|
|
// SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be rejected
|
|
SignMode_SIGN_MODE_UNSPECIFIED SignMode = 0
|
|
// SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified
|
|
// with raw bytes from Tx
|
|
SignMode_SIGN_MODE_DIRECT SignMode = 1
|
|
// SIGN_MODE_TEXTUAL is a future signing mode that will verify some human-readable
|
|
// textual representation on top of the binary representation from SIGN_MODE_DIRECT
|
|
SignMode_SIGN_MODE_TEXTUAL SignMode = 2
|
|
// SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses
|
|
// Amino JSON and will be removed in the future
|
|
SignMode_SIGN_MODE_LEGACY_AMINO_JSON SignMode = 127
|
|
)
|
|
|
|
var SignMode_name = map[int32]string{
|
|
0: "SIGN_MODE_UNSPECIFIED",
|
|
1: "SIGN_MODE_DIRECT",
|
|
2: "SIGN_MODE_TEXTUAL",
|
|
127: "SIGN_MODE_LEGACY_AMINO_JSON",
|
|
}
|
|
|
|
var SignMode_value = map[string]int32{
|
|
"SIGN_MODE_UNSPECIFIED": 0,
|
|
"SIGN_MODE_DIRECT": 1,
|
|
"SIGN_MODE_TEXTUAL": 2,
|
|
"SIGN_MODE_LEGACY_AMINO_JSON": 127,
|
|
}
|
|
|
|
func (x SignMode) String() string {
|
|
return proto.EnumName(SignMode_name, int32(x))
|
|
}
|
|
|
|
func (SignMode) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_8a04324e5f3729bf, []int{0}
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("cosmos.tx.signing.SignMode", SignMode_name, SignMode_value)
|
|
}
|
|
|
|
func init() { proto.RegisterFile("cosmos/tx/signing/signing.proto", fileDescriptor_8a04324e5f3729bf) }
|
|
|
|
var fileDescriptor_8a04324e5f3729bf = []byte{
|
|
// 214 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0x2f, 0xce,
|
|
0xcd, 0x2f, 0xd6, 0x2f, 0xa9, 0xd0, 0x2f, 0xce, 0x4c, 0xcf, 0xcb, 0xcc, 0x4b, 0x87, 0xd1, 0x7a,
|
|
0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x82, 0x10, 0x05, 0x7a, 0x25, 0x15, 0x7a, 0x50, 0x09, 0xad,
|
|
0x62, 0x2e, 0x8e, 0xe0, 0xcc, 0xf4, 0x3c, 0xdf, 0xfc, 0x94, 0x54, 0x21, 0x49, 0x2e, 0xd1, 0x60,
|
|
0x4f, 0x77, 0xbf, 0x78, 0x5f, 0x7f, 0x17, 0xd7, 0xf8, 0x50, 0xbf, 0xe0, 0x00, 0x57, 0x67, 0x4f,
|
|
0x37, 0x4f, 0x57, 0x17, 0x01, 0x06, 0x21, 0x11, 0x2e, 0x01, 0x84, 0x94, 0x8b, 0x67, 0x90, 0xab,
|
|
0x73, 0x88, 0x00, 0xa3, 0x90, 0x28, 0x97, 0x20, 0x42, 0x34, 0xc4, 0x35, 0x22, 0x24, 0xd4, 0xd1,
|
|
0x47, 0x80, 0x49, 0x48, 0x9e, 0x4b, 0x1a, 0x21, 0xec, 0xe3, 0xea, 0xee, 0xe8, 0x1c, 0x19, 0xef,
|
|
0xe8, 0xeb, 0xe9, 0xe7, 0x1f, 0xef, 0x15, 0xec, 0xef, 0x27, 0x50, 0xef, 0xe4, 0x7e, 0xe2, 0x91,
|
|
0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1,
|
|
0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xba, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a,
|
|
0xc9, 0xf9, 0xb9, 0xfa, 0x50, 0xdf, 0x40, 0x28, 0xdd, 0xe2, 0x94, 0x6c, 0xfd, 0x92, 0xca, 0x82,
|
|
0x54, 0x64, 0xef, 0x25, 0xb1, 0x81, 0xfd, 0x65, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x92,
|
|
0x08, 0x61, 0xfa, 0x00, 0x00, 0x00,
|
|
}
|