github.com/turingchain2020/turingchain@v1.1.21/types/wallet.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: wallet.proto 3 4 package types 5 6 import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 ) 12 13 // Reference imports to suppress errors if they are not otherwise used. 14 var _ = proto.Marshal 15 var _ = fmt.Errorf 16 var _ = math.Inf 17 18 // This is a compile-time assertion to ensure that this generated file 19 // is compatible with the proto package it is being compiled against. 20 // A compilation error at this line likely means your copy of the 21 // proto package needs to be updated. 22 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 23 24 //钱包模块存贮的tx交易详细信息 25 // tx : tx交易信息 26 // receipt :交易收据信息 27 // height :交易所在的区块高度 28 // index :交易所在区块中的索引 29 // blocktime :交易所在区块的时标 30 // amount :交易量 31 // fromaddr :交易打出地址 32 // txhash : 交易对应的哈希值 33 // actionName :交易对应的函数调用 34 // payload: 保存额外的一些信息,主要是给插件使用 35 type WalletTxDetail struct { 36 Tx *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` 37 Receipt *ReceiptData `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"` 38 Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` 39 Index int64 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` 40 Blocktime int64 `protobuf:"varint,5,opt,name=blocktime,proto3" json:"blocktime,omitempty"` 41 Amount int64 `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty"` 42 Fromaddr string `protobuf:"bytes,7,opt,name=fromaddr,proto3" json:"fromaddr,omitempty"` 43 Txhash []byte `protobuf:"bytes,8,opt,name=txhash,proto3" json:"txhash,omitempty"` 44 ActionName string `protobuf:"bytes,9,opt,name=actionName,proto3" json:"actionName,omitempty"` 45 Payload []byte `protobuf:"bytes,10,opt,name=payload,proto3" json:"payload,omitempty"` 46 XXX_NoUnkeyedLiteral struct{} `json:"-"` 47 XXX_unrecognized []byte `json:"-"` 48 XXX_sizecache int32 `json:"-"` 49 } 50 51 func (m *WalletTxDetail) Reset() { *m = WalletTxDetail{} } 52 func (m *WalletTxDetail) String() string { return proto.CompactTextString(m) } 53 func (*WalletTxDetail) ProtoMessage() {} 54 func (*WalletTxDetail) Descriptor() ([]byte, []int) { 55 return fileDescriptor_b88fd140af4deb6f, []int{0} 56 } 57 58 func (m *WalletTxDetail) XXX_Unmarshal(b []byte) error { 59 return xxx_messageInfo_WalletTxDetail.Unmarshal(m, b) 60 } 61 func (m *WalletTxDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 62 return xxx_messageInfo_WalletTxDetail.Marshal(b, m, deterministic) 63 } 64 func (m *WalletTxDetail) XXX_Merge(src proto.Message) { 65 xxx_messageInfo_WalletTxDetail.Merge(m, src) 66 } 67 func (m *WalletTxDetail) XXX_Size() int { 68 return xxx_messageInfo_WalletTxDetail.Size(m) 69 } 70 func (m *WalletTxDetail) XXX_DiscardUnknown() { 71 xxx_messageInfo_WalletTxDetail.DiscardUnknown(m) 72 } 73 74 var xxx_messageInfo_WalletTxDetail proto.InternalMessageInfo 75 76 func (m *WalletTxDetail) GetTx() *Transaction { 77 if m != nil { 78 return m.Tx 79 } 80 return nil 81 } 82 83 func (m *WalletTxDetail) GetReceipt() *ReceiptData { 84 if m != nil { 85 return m.Receipt 86 } 87 return nil 88 } 89 90 func (m *WalletTxDetail) GetHeight() int64 { 91 if m != nil { 92 return m.Height 93 } 94 return 0 95 } 96 97 func (m *WalletTxDetail) GetIndex() int64 { 98 if m != nil { 99 return m.Index 100 } 101 return 0 102 } 103 104 func (m *WalletTxDetail) GetBlocktime() int64 { 105 if m != nil { 106 return m.Blocktime 107 } 108 return 0 109 } 110 111 func (m *WalletTxDetail) GetAmount() int64 { 112 if m != nil { 113 return m.Amount 114 } 115 return 0 116 } 117 118 func (m *WalletTxDetail) GetFromaddr() string { 119 if m != nil { 120 return m.Fromaddr 121 } 122 return "" 123 } 124 125 func (m *WalletTxDetail) GetTxhash() []byte { 126 if m != nil { 127 return m.Txhash 128 } 129 return nil 130 } 131 132 func (m *WalletTxDetail) GetActionName() string { 133 if m != nil { 134 return m.ActionName 135 } 136 return "" 137 } 138 139 func (m *WalletTxDetail) GetPayload() []byte { 140 if m != nil { 141 return m.Payload 142 } 143 return nil 144 } 145 146 type WalletTxDetails struct { 147 TxDetails []*WalletTxDetail `protobuf:"bytes,1,rep,name=txDetails,proto3" json:"txDetails,omitempty"` 148 XXX_NoUnkeyedLiteral struct{} `json:"-"` 149 XXX_unrecognized []byte `json:"-"` 150 XXX_sizecache int32 `json:"-"` 151 } 152 153 func (m *WalletTxDetails) Reset() { *m = WalletTxDetails{} } 154 func (m *WalletTxDetails) String() string { return proto.CompactTextString(m) } 155 func (*WalletTxDetails) ProtoMessage() {} 156 func (*WalletTxDetails) Descriptor() ([]byte, []int) { 157 return fileDescriptor_b88fd140af4deb6f, []int{1} 158 } 159 160 func (m *WalletTxDetails) XXX_Unmarshal(b []byte) error { 161 return xxx_messageInfo_WalletTxDetails.Unmarshal(m, b) 162 } 163 func (m *WalletTxDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 164 return xxx_messageInfo_WalletTxDetails.Marshal(b, m, deterministic) 165 } 166 func (m *WalletTxDetails) XXX_Merge(src proto.Message) { 167 xxx_messageInfo_WalletTxDetails.Merge(m, src) 168 } 169 func (m *WalletTxDetails) XXX_Size() int { 170 return xxx_messageInfo_WalletTxDetails.Size(m) 171 } 172 func (m *WalletTxDetails) XXX_DiscardUnknown() { 173 xxx_messageInfo_WalletTxDetails.DiscardUnknown(m) 174 } 175 176 var xxx_messageInfo_WalletTxDetails proto.InternalMessageInfo 177 178 func (m *WalletTxDetails) GetTxDetails() []*WalletTxDetail { 179 if m != nil { 180 return m.TxDetails 181 } 182 return nil 183 } 184 185 //钱包模块存贮的账户信息 186 // privkey : 账户地址对应的私钥 187 // label :账户地址对应的标签 188 // addr :账户地址 189 // timeStamp :创建账户时的时标 190 type WalletAccountStore struct { 191 Privkey string `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"` 192 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 193 Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` 194 TimeStamp string `protobuf:"bytes,4,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` 195 XXX_NoUnkeyedLiteral struct{} `json:"-"` 196 XXX_unrecognized []byte `json:"-"` 197 XXX_sizecache int32 `json:"-"` 198 } 199 200 func (m *WalletAccountStore) Reset() { *m = WalletAccountStore{} } 201 func (m *WalletAccountStore) String() string { return proto.CompactTextString(m) } 202 func (*WalletAccountStore) ProtoMessage() {} 203 func (*WalletAccountStore) Descriptor() ([]byte, []int) { 204 return fileDescriptor_b88fd140af4deb6f, []int{2} 205 } 206 207 func (m *WalletAccountStore) XXX_Unmarshal(b []byte) error { 208 return xxx_messageInfo_WalletAccountStore.Unmarshal(m, b) 209 } 210 func (m *WalletAccountStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 211 return xxx_messageInfo_WalletAccountStore.Marshal(b, m, deterministic) 212 } 213 func (m *WalletAccountStore) XXX_Merge(src proto.Message) { 214 xxx_messageInfo_WalletAccountStore.Merge(m, src) 215 } 216 func (m *WalletAccountStore) XXX_Size() int { 217 return xxx_messageInfo_WalletAccountStore.Size(m) 218 } 219 func (m *WalletAccountStore) XXX_DiscardUnknown() { 220 xxx_messageInfo_WalletAccountStore.DiscardUnknown(m) 221 } 222 223 var xxx_messageInfo_WalletAccountStore proto.InternalMessageInfo 224 225 func (m *WalletAccountStore) GetPrivkey() string { 226 if m != nil { 227 return m.Privkey 228 } 229 return "" 230 } 231 232 func (m *WalletAccountStore) GetLabel() string { 233 if m != nil { 234 return m.Label 235 } 236 return "" 237 } 238 239 func (m *WalletAccountStore) GetAddr() string { 240 if m != nil { 241 return m.Addr 242 } 243 return "" 244 } 245 246 func (m *WalletAccountStore) GetTimeStamp() string { 247 if m != nil { 248 return m.TimeStamp 249 } 250 return "" 251 } 252 253 //钱包模块通过一个随机值对钱包密码加密 254 // pwHash : 对钱包密码和一个随机值组合进行哈希计算 255 // randstr :对钱包密码加密的一个随机值 256 type WalletPwHash struct { 257 PwHash []byte `protobuf:"bytes,1,opt,name=pwHash,proto3" json:"pwHash,omitempty"` 258 Randstr string `protobuf:"bytes,2,opt,name=randstr,proto3" json:"randstr,omitempty"` 259 XXX_NoUnkeyedLiteral struct{} `json:"-"` 260 XXX_unrecognized []byte `json:"-"` 261 XXX_sizecache int32 `json:"-"` 262 } 263 264 func (m *WalletPwHash) Reset() { *m = WalletPwHash{} } 265 func (m *WalletPwHash) String() string { return proto.CompactTextString(m) } 266 func (*WalletPwHash) ProtoMessage() {} 267 func (*WalletPwHash) Descriptor() ([]byte, []int) { 268 return fileDescriptor_b88fd140af4deb6f, []int{3} 269 } 270 271 func (m *WalletPwHash) XXX_Unmarshal(b []byte) error { 272 return xxx_messageInfo_WalletPwHash.Unmarshal(m, b) 273 } 274 func (m *WalletPwHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 275 return xxx_messageInfo_WalletPwHash.Marshal(b, m, deterministic) 276 } 277 func (m *WalletPwHash) XXX_Merge(src proto.Message) { 278 xxx_messageInfo_WalletPwHash.Merge(m, src) 279 } 280 func (m *WalletPwHash) XXX_Size() int { 281 return xxx_messageInfo_WalletPwHash.Size(m) 282 } 283 func (m *WalletPwHash) XXX_DiscardUnknown() { 284 xxx_messageInfo_WalletPwHash.DiscardUnknown(m) 285 } 286 287 var xxx_messageInfo_WalletPwHash proto.InternalMessageInfo 288 289 func (m *WalletPwHash) GetPwHash() []byte { 290 if m != nil { 291 return m.PwHash 292 } 293 return nil 294 } 295 296 func (m *WalletPwHash) GetRandstr() string { 297 if m != nil { 298 return m.Randstr 299 } 300 return "" 301 } 302 303 //钱包当前的状态 304 // isWalletLock : 钱包是否锁状态,true锁定,false解锁 305 // isAutoMining :钱包是否开启挖矿功能,true开启挖矿,false关闭挖矿 306 // isHasSeed : 钱包是否有种子,true已有,false没有 307 // isTicketLock :钱包挖矿买票锁状态,true锁定,false解锁,只能用于挖矿转账 308 type WalletStatus struct { 309 IsWalletLock bool `protobuf:"varint,1,opt,name=isWalletLock,proto3" json:"isWalletLock,omitempty"` 310 IsAutoMining bool `protobuf:"varint,2,opt,name=isAutoMining,proto3" json:"isAutoMining,omitempty"` 311 IsHasSeed bool `protobuf:"varint,3,opt,name=isHasSeed,proto3" json:"isHasSeed,omitempty"` 312 IsTicketLock bool `protobuf:"varint,4,opt,name=isTicketLock,proto3" json:"isTicketLock,omitempty"` 313 XXX_NoUnkeyedLiteral struct{} `json:"-"` 314 XXX_unrecognized []byte `json:"-"` 315 XXX_sizecache int32 `json:"-"` 316 } 317 318 func (m *WalletStatus) Reset() { *m = WalletStatus{} } 319 func (m *WalletStatus) String() string { return proto.CompactTextString(m) } 320 func (*WalletStatus) ProtoMessage() {} 321 func (*WalletStatus) Descriptor() ([]byte, []int) { 322 return fileDescriptor_b88fd140af4deb6f, []int{4} 323 } 324 325 func (m *WalletStatus) XXX_Unmarshal(b []byte) error { 326 return xxx_messageInfo_WalletStatus.Unmarshal(m, b) 327 } 328 func (m *WalletStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 329 return xxx_messageInfo_WalletStatus.Marshal(b, m, deterministic) 330 } 331 func (m *WalletStatus) XXX_Merge(src proto.Message) { 332 xxx_messageInfo_WalletStatus.Merge(m, src) 333 } 334 func (m *WalletStatus) XXX_Size() int { 335 return xxx_messageInfo_WalletStatus.Size(m) 336 } 337 func (m *WalletStatus) XXX_DiscardUnknown() { 338 xxx_messageInfo_WalletStatus.DiscardUnknown(m) 339 } 340 341 var xxx_messageInfo_WalletStatus proto.InternalMessageInfo 342 343 func (m *WalletStatus) GetIsWalletLock() bool { 344 if m != nil { 345 return m.IsWalletLock 346 } 347 return false 348 } 349 350 func (m *WalletStatus) GetIsAutoMining() bool { 351 if m != nil { 352 return m.IsAutoMining 353 } 354 return false 355 } 356 357 func (m *WalletStatus) GetIsHasSeed() bool { 358 if m != nil { 359 return m.IsHasSeed 360 } 361 return false 362 } 363 364 func (m *WalletStatus) GetIsTicketLock() bool { 365 if m != nil { 366 return m.IsTicketLock 367 } 368 return false 369 } 370 371 type WalletAccounts struct { 372 Wallets []*WalletAccount `protobuf:"bytes,1,rep,name=wallets,proto3" json:"wallets,omitempty"` 373 XXX_NoUnkeyedLiteral struct{} `json:"-"` 374 XXX_unrecognized []byte `json:"-"` 375 XXX_sizecache int32 `json:"-"` 376 } 377 378 func (m *WalletAccounts) Reset() { *m = WalletAccounts{} } 379 func (m *WalletAccounts) String() string { return proto.CompactTextString(m) } 380 func (*WalletAccounts) ProtoMessage() {} 381 func (*WalletAccounts) Descriptor() ([]byte, []int) { 382 return fileDescriptor_b88fd140af4deb6f, []int{5} 383 } 384 385 func (m *WalletAccounts) XXX_Unmarshal(b []byte) error { 386 return xxx_messageInfo_WalletAccounts.Unmarshal(m, b) 387 } 388 func (m *WalletAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 389 return xxx_messageInfo_WalletAccounts.Marshal(b, m, deterministic) 390 } 391 func (m *WalletAccounts) XXX_Merge(src proto.Message) { 392 xxx_messageInfo_WalletAccounts.Merge(m, src) 393 } 394 func (m *WalletAccounts) XXX_Size() int { 395 return xxx_messageInfo_WalletAccounts.Size(m) 396 } 397 func (m *WalletAccounts) XXX_DiscardUnknown() { 398 xxx_messageInfo_WalletAccounts.DiscardUnknown(m) 399 } 400 401 var xxx_messageInfo_WalletAccounts proto.InternalMessageInfo 402 403 func (m *WalletAccounts) GetWallets() []*WalletAccount { 404 if m != nil { 405 return m.Wallets 406 } 407 return nil 408 } 409 410 type WalletAccount struct { 411 Acc *Account `protobuf:"bytes,1,opt,name=acc,proto3" json:"acc,omitempty"` 412 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 413 XXX_NoUnkeyedLiteral struct{} `json:"-"` 414 XXX_unrecognized []byte `json:"-"` 415 XXX_sizecache int32 `json:"-"` 416 } 417 418 func (m *WalletAccount) Reset() { *m = WalletAccount{} } 419 func (m *WalletAccount) String() string { return proto.CompactTextString(m) } 420 func (*WalletAccount) ProtoMessage() {} 421 func (*WalletAccount) Descriptor() ([]byte, []int) { 422 return fileDescriptor_b88fd140af4deb6f, []int{6} 423 } 424 425 func (m *WalletAccount) XXX_Unmarshal(b []byte) error { 426 return xxx_messageInfo_WalletAccount.Unmarshal(m, b) 427 } 428 func (m *WalletAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 429 return xxx_messageInfo_WalletAccount.Marshal(b, m, deterministic) 430 } 431 func (m *WalletAccount) XXX_Merge(src proto.Message) { 432 xxx_messageInfo_WalletAccount.Merge(m, src) 433 } 434 func (m *WalletAccount) XXX_Size() int { 435 return xxx_messageInfo_WalletAccount.Size(m) 436 } 437 func (m *WalletAccount) XXX_DiscardUnknown() { 438 xxx_messageInfo_WalletAccount.DiscardUnknown(m) 439 } 440 441 var xxx_messageInfo_WalletAccount proto.InternalMessageInfo 442 443 func (m *WalletAccount) GetAcc() *Account { 444 if m != nil { 445 return m.Acc 446 } 447 return nil 448 } 449 450 func (m *WalletAccount) GetLabel() string { 451 if m != nil { 452 return m.Label 453 } 454 return "" 455 } 456 457 //钱包解锁 458 // passwd : 钱包密码 459 // timeout :钱包解锁时间,0,一直解锁,非0值,超时之后继续锁定 460 // walletOrTicket :解锁整个钱包还是只解锁挖矿买票功能,1只解锁挖矿买票,0解锁整个钱包 461 type WalletUnLock struct { 462 Passwd string `protobuf:"bytes,1,opt,name=passwd,proto3" json:"passwd,omitempty"` 463 Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` 464 WalletOrTicket bool `protobuf:"varint,3,opt,name=walletOrTicket,proto3" json:"walletOrTicket,omitempty"` 465 XXX_NoUnkeyedLiteral struct{} `json:"-"` 466 XXX_unrecognized []byte `json:"-"` 467 XXX_sizecache int32 `json:"-"` 468 } 469 470 func (m *WalletUnLock) Reset() { *m = WalletUnLock{} } 471 func (m *WalletUnLock) String() string { return proto.CompactTextString(m) } 472 func (*WalletUnLock) ProtoMessage() {} 473 func (*WalletUnLock) Descriptor() ([]byte, []int) { 474 return fileDescriptor_b88fd140af4deb6f, []int{7} 475 } 476 477 func (m *WalletUnLock) XXX_Unmarshal(b []byte) error { 478 return xxx_messageInfo_WalletUnLock.Unmarshal(m, b) 479 } 480 func (m *WalletUnLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 481 return xxx_messageInfo_WalletUnLock.Marshal(b, m, deterministic) 482 } 483 func (m *WalletUnLock) XXX_Merge(src proto.Message) { 484 xxx_messageInfo_WalletUnLock.Merge(m, src) 485 } 486 func (m *WalletUnLock) XXX_Size() int { 487 return xxx_messageInfo_WalletUnLock.Size(m) 488 } 489 func (m *WalletUnLock) XXX_DiscardUnknown() { 490 xxx_messageInfo_WalletUnLock.DiscardUnknown(m) 491 } 492 493 var xxx_messageInfo_WalletUnLock proto.InternalMessageInfo 494 495 func (m *WalletUnLock) GetPasswd() string { 496 if m != nil { 497 return m.Passwd 498 } 499 return "" 500 } 501 502 func (m *WalletUnLock) GetTimeout() int64 { 503 if m != nil { 504 return m.Timeout 505 } 506 return 0 507 } 508 509 func (m *WalletUnLock) GetWalletOrTicket() bool { 510 if m != nil { 511 return m.WalletOrTicket 512 } 513 return false 514 } 515 516 type GenSeedLang struct { 517 Lang int32 `protobuf:"varint,1,opt,name=lang,proto3" json:"lang,omitempty"` 518 XXX_NoUnkeyedLiteral struct{} `json:"-"` 519 XXX_unrecognized []byte `json:"-"` 520 XXX_sizecache int32 `json:"-"` 521 } 522 523 func (m *GenSeedLang) Reset() { *m = GenSeedLang{} } 524 func (m *GenSeedLang) String() string { return proto.CompactTextString(m) } 525 func (*GenSeedLang) ProtoMessage() {} 526 func (*GenSeedLang) Descriptor() ([]byte, []int) { 527 return fileDescriptor_b88fd140af4deb6f, []int{8} 528 } 529 530 func (m *GenSeedLang) XXX_Unmarshal(b []byte) error { 531 return xxx_messageInfo_GenSeedLang.Unmarshal(m, b) 532 } 533 func (m *GenSeedLang) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 534 return xxx_messageInfo_GenSeedLang.Marshal(b, m, deterministic) 535 } 536 func (m *GenSeedLang) XXX_Merge(src proto.Message) { 537 xxx_messageInfo_GenSeedLang.Merge(m, src) 538 } 539 func (m *GenSeedLang) XXX_Size() int { 540 return xxx_messageInfo_GenSeedLang.Size(m) 541 } 542 func (m *GenSeedLang) XXX_DiscardUnknown() { 543 xxx_messageInfo_GenSeedLang.DiscardUnknown(m) 544 } 545 546 var xxx_messageInfo_GenSeedLang proto.InternalMessageInfo 547 548 func (m *GenSeedLang) GetLang() int32 { 549 if m != nil { 550 return m.Lang 551 } 552 return 0 553 } 554 555 type GetSeedByPw struct { 556 Passwd string `protobuf:"bytes,1,opt,name=passwd,proto3" json:"passwd,omitempty"` 557 XXX_NoUnkeyedLiteral struct{} `json:"-"` 558 XXX_unrecognized []byte `json:"-"` 559 XXX_sizecache int32 `json:"-"` 560 } 561 562 func (m *GetSeedByPw) Reset() { *m = GetSeedByPw{} } 563 func (m *GetSeedByPw) String() string { return proto.CompactTextString(m) } 564 func (*GetSeedByPw) ProtoMessage() {} 565 func (*GetSeedByPw) Descriptor() ([]byte, []int) { 566 return fileDescriptor_b88fd140af4deb6f, []int{9} 567 } 568 569 func (m *GetSeedByPw) XXX_Unmarshal(b []byte) error { 570 return xxx_messageInfo_GetSeedByPw.Unmarshal(m, b) 571 } 572 func (m *GetSeedByPw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 573 return xxx_messageInfo_GetSeedByPw.Marshal(b, m, deterministic) 574 } 575 func (m *GetSeedByPw) XXX_Merge(src proto.Message) { 576 xxx_messageInfo_GetSeedByPw.Merge(m, src) 577 } 578 func (m *GetSeedByPw) XXX_Size() int { 579 return xxx_messageInfo_GetSeedByPw.Size(m) 580 } 581 func (m *GetSeedByPw) XXX_DiscardUnknown() { 582 xxx_messageInfo_GetSeedByPw.DiscardUnknown(m) 583 } 584 585 var xxx_messageInfo_GetSeedByPw proto.InternalMessageInfo 586 587 func (m *GetSeedByPw) GetPasswd() string { 588 if m != nil { 589 return m.Passwd 590 } 591 return "" 592 } 593 594 //存储钱包的种子 595 // seed : 钱包种子 596 // passwd :钱包密码 597 type SaveSeedByPw struct { 598 Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"` 599 Passwd string `protobuf:"bytes,2,opt,name=passwd,proto3" json:"passwd,omitempty"` 600 XXX_NoUnkeyedLiteral struct{} `json:"-"` 601 XXX_unrecognized []byte `json:"-"` 602 XXX_sizecache int32 `json:"-"` 603 } 604 605 func (m *SaveSeedByPw) Reset() { *m = SaveSeedByPw{} } 606 func (m *SaveSeedByPw) String() string { return proto.CompactTextString(m) } 607 func (*SaveSeedByPw) ProtoMessage() {} 608 func (*SaveSeedByPw) Descriptor() ([]byte, []int) { 609 return fileDescriptor_b88fd140af4deb6f, []int{10} 610 } 611 612 func (m *SaveSeedByPw) XXX_Unmarshal(b []byte) error { 613 return xxx_messageInfo_SaveSeedByPw.Unmarshal(m, b) 614 } 615 func (m *SaveSeedByPw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 616 return xxx_messageInfo_SaveSeedByPw.Marshal(b, m, deterministic) 617 } 618 func (m *SaveSeedByPw) XXX_Merge(src proto.Message) { 619 xxx_messageInfo_SaveSeedByPw.Merge(m, src) 620 } 621 func (m *SaveSeedByPw) XXX_Size() int { 622 return xxx_messageInfo_SaveSeedByPw.Size(m) 623 } 624 func (m *SaveSeedByPw) XXX_DiscardUnknown() { 625 xxx_messageInfo_SaveSeedByPw.DiscardUnknown(m) 626 } 627 628 var xxx_messageInfo_SaveSeedByPw proto.InternalMessageInfo 629 630 func (m *SaveSeedByPw) GetSeed() string { 631 if m != nil { 632 return m.Seed 633 } 634 return "" 635 } 636 637 func (m *SaveSeedByPw) GetPasswd() string { 638 if m != nil { 639 return m.Passwd 640 } 641 return "" 642 } 643 644 type ReplySeed struct { 645 Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"` 646 XXX_NoUnkeyedLiteral struct{} `json:"-"` 647 XXX_unrecognized []byte `json:"-"` 648 XXX_sizecache int32 `json:"-"` 649 } 650 651 func (m *ReplySeed) Reset() { *m = ReplySeed{} } 652 func (m *ReplySeed) String() string { return proto.CompactTextString(m) } 653 func (*ReplySeed) ProtoMessage() {} 654 func (*ReplySeed) Descriptor() ([]byte, []int) { 655 return fileDescriptor_b88fd140af4deb6f, []int{11} 656 } 657 658 func (m *ReplySeed) XXX_Unmarshal(b []byte) error { 659 return xxx_messageInfo_ReplySeed.Unmarshal(m, b) 660 } 661 func (m *ReplySeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 662 return xxx_messageInfo_ReplySeed.Marshal(b, m, deterministic) 663 } 664 func (m *ReplySeed) XXX_Merge(src proto.Message) { 665 xxx_messageInfo_ReplySeed.Merge(m, src) 666 } 667 func (m *ReplySeed) XXX_Size() int { 668 return xxx_messageInfo_ReplySeed.Size(m) 669 } 670 func (m *ReplySeed) XXX_DiscardUnknown() { 671 xxx_messageInfo_ReplySeed.DiscardUnknown(m) 672 } 673 674 var xxx_messageInfo_ReplySeed proto.InternalMessageInfo 675 676 func (m *ReplySeed) GetSeed() string { 677 if m != nil { 678 return m.Seed 679 } 680 return "" 681 } 682 683 type ReqWalletSetPasswd struct { 684 OldPass string `protobuf:"bytes,1,opt,name=oldPass,proto3" json:"oldPass,omitempty"` 685 NewPass string `protobuf:"bytes,2,opt,name=newPass,proto3" json:"newPass,omitempty"` 686 XXX_NoUnkeyedLiteral struct{} `json:"-"` 687 XXX_unrecognized []byte `json:"-"` 688 XXX_sizecache int32 `json:"-"` 689 } 690 691 func (m *ReqWalletSetPasswd) Reset() { *m = ReqWalletSetPasswd{} } 692 func (m *ReqWalletSetPasswd) String() string { return proto.CompactTextString(m) } 693 func (*ReqWalletSetPasswd) ProtoMessage() {} 694 func (*ReqWalletSetPasswd) Descriptor() ([]byte, []int) { 695 return fileDescriptor_b88fd140af4deb6f, []int{12} 696 } 697 698 func (m *ReqWalletSetPasswd) XXX_Unmarshal(b []byte) error { 699 return xxx_messageInfo_ReqWalletSetPasswd.Unmarshal(m, b) 700 } 701 func (m *ReqWalletSetPasswd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 702 return xxx_messageInfo_ReqWalletSetPasswd.Marshal(b, m, deterministic) 703 } 704 func (m *ReqWalletSetPasswd) XXX_Merge(src proto.Message) { 705 xxx_messageInfo_ReqWalletSetPasswd.Merge(m, src) 706 } 707 func (m *ReqWalletSetPasswd) XXX_Size() int { 708 return xxx_messageInfo_ReqWalletSetPasswd.Size(m) 709 } 710 func (m *ReqWalletSetPasswd) XXX_DiscardUnknown() { 711 xxx_messageInfo_ReqWalletSetPasswd.DiscardUnknown(m) 712 } 713 714 var xxx_messageInfo_ReqWalletSetPasswd proto.InternalMessageInfo 715 716 func (m *ReqWalletSetPasswd) GetOldPass() string { 717 if m != nil { 718 return m.OldPass 719 } 720 return "" 721 } 722 723 func (m *ReqWalletSetPasswd) GetNewPass() string { 724 if m != nil { 725 return m.NewPass 726 } 727 return "" 728 } 729 730 type ReqNewAccount struct { 731 Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` 732 XXX_NoUnkeyedLiteral struct{} `json:"-"` 733 XXX_unrecognized []byte `json:"-"` 734 XXX_sizecache int32 `json:"-"` 735 } 736 737 func (m *ReqNewAccount) Reset() { *m = ReqNewAccount{} } 738 func (m *ReqNewAccount) String() string { return proto.CompactTextString(m) } 739 func (*ReqNewAccount) ProtoMessage() {} 740 func (*ReqNewAccount) Descriptor() ([]byte, []int) { 741 return fileDescriptor_b88fd140af4deb6f, []int{13} 742 } 743 744 func (m *ReqNewAccount) XXX_Unmarshal(b []byte) error { 745 return xxx_messageInfo_ReqNewAccount.Unmarshal(m, b) 746 } 747 func (m *ReqNewAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 748 return xxx_messageInfo_ReqNewAccount.Marshal(b, m, deterministic) 749 } 750 func (m *ReqNewAccount) XXX_Merge(src proto.Message) { 751 xxx_messageInfo_ReqNewAccount.Merge(m, src) 752 } 753 func (m *ReqNewAccount) XXX_Size() int { 754 return xxx_messageInfo_ReqNewAccount.Size(m) 755 } 756 func (m *ReqNewAccount) XXX_DiscardUnknown() { 757 xxx_messageInfo_ReqNewAccount.DiscardUnknown(m) 758 } 759 760 var xxx_messageInfo_ReqNewAccount proto.InternalMessageInfo 761 762 func (m *ReqNewAccount) GetLabel() string { 763 if m != nil { 764 return m.Label 765 } 766 return "" 767 } 768 769 //根据label获取账户地址 770 type ReqGetAccount struct { 771 Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` 772 XXX_NoUnkeyedLiteral struct{} `json:"-"` 773 XXX_unrecognized []byte `json:"-"` 774 XXX_sizecache int32 `json:"-"` 775 } 776 777 func (m *ReqGetAccount) Reset() { *m = ReqGetAccount{} } 778 func (m *ReqGetAccount) String() string { return proto.CompactTextString(m) } 779 func (*ReqGetAccount) ProtoMessage() {} 780 func (*ReqGetAccount) Descriptor() ([]byte, []int) { 781 return fileDescriptor_b88fd140af4deb6f, []int{14} 782 } 783 784 func (m *ReqGetAccount) XXX_Unmarshal(b []byte) error { 785 return xxx_messageInfo_ReqGetAccount.Unmarshal(m, b) 786 } 787 func (m *ReqGetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 788 return xxx_messageInfo_ReqGetAccount.Marshal(b, m, deterministic) 789 } 790 func (m *ReqGetAccount) XXX_Merge(src proto.Message) { 791 xxx_messageInfo_ReqGetAccount.Merge(m, src) 792 } 793 func (m *ReqGetAccount) XXX_Size() int { 794 return xxx_messageInfo_ReqGetAccount.Size(m) 795 } 796 func (m *ReqGetAccount) XXX_DiscardUnknown() { 797 xxx_messageInfo_ReqGetAccount.DiscardUnknown(m) 798 } 799 800 var xxx_messageInfo_ReqGetAccount proto.InternalMessageInfo 801 802 func (m *ReqGetAccount) GetLabel() string { 803 if m != nil { 804 return m.Label 805 } 806 return "" 807 } 808 809 //获取钱包交易的详细信息 810 // fromTx : []byte( Sprintf("%018d", height*100000 + index), 811 // 表示从高度 height 中的 index 开始获取交易列表; 812 // 第一次传参为空,获取最新的交易。) 813 // count :获取交易列表的个数。 814 // direction :查找方式;0,上一页;1,下一页。 815 type ReqWalletTransactionList struct { 816 FromTx []byte `protobuf:"bytes,1,opt,name=fromTx,proto3" json:"fromTx,omitempty"` 817 Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 818 Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"` 819 XXX_NoUnkeyedLiteral struct{} `json:"-"` 820 XXX_unrecognized []byte `json:"-"` 821 XXX_sizecache int32 `json:"-"` 822 } 823 824 func (m *ReqWalletTransactionList) Reset() { *m = ReqWalletTransactionList{} } 825 func (m *ReqWalletTransactionList) String() string { return proto.CompactTextString(m) } 826 func (*ReqWalletTransactionList) ProtoMessage() {} 827 func (*ReqWalletTransactionList) Descriptor() ([]byte, []int) { 828 return fileDescriptor_b88fd140af4deb6f, []int{15} 829 } 830 831 func (m *ReqWalletTransactionList) XXX_Unmarshal(b []byte) error { 832 return xxx_messageInfo_ReqWalletTransactionList.Unmarshal(m, b) 833 } 834 func (m *ReqWalletTransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 835 return xxx_messageInfo_ReqWalletTransactionList.Marshal(b, m, deterministic) 836 } 837 func (m *ReqWalletTransactionList) XXX_Merge(src proto.Message) { 838 xxx_messageInfo_ReqWalletTransactionList.Merge(m, src) 839 } 840 func (m *ReqWalletTransactionList) XXX_Size() int { 841 return xxx_messageInfo_ReqWalletTransactionList.Size(m) 842 } 843 func (m *ReqWalletTransactionList) XXX_DiscardUnknown() { 844 xxx_messageInfo_ReqWalletTransactionList.DiscardUnknown(m) 845 } 846 847 var xxx_messageInfo_ReqWalletTransactionList proto.InternalMessageInfo 848 849 func (m *ReqWalletTransactionList) GetFromTx() []byte { 850 if m != nil { 851 return m.FromTx 852 } 853 return nil 854 } 855 856 func (m *ReqWalletTransactionList) GetCount() int32 { 857 if m != nil { 858 return m.Count 859 } 860 return 0 861 } 862 863 func (m *ReqWalletTransactionList) GetDirection() int32 { 864 if m != nil { 865 return m.Direction 866 } 867 return 0 868 } 869 870 type ReqWalletImportPrivkey struct { 871 // bitcoin 的私钥格式 872 Privkey string `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"` 873 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 874 XXX_NoUnkeyedLiteral struct{} `json:"-"` 875 XXX_unrecognized []byte `json:"-"` 876 XXX_sizecache int32 `json:"-"` 877 } 878 879 func (m *ReqWalletImportPrivkey) Reset() { *m = ReqWalletImportPrivkey{} } 880 func (m *ReqWalletImportPrivkey) String() string { return proto.CompactTextString(m) } 881 func (*ReqWalletImportPrivkey) ProtoMessage() {} 882 func (*ReqWalletImportPrivkey) Descriptor() ([]byte, []int) { 883 return fileDescriptor_b88fd140af4deb6f, []int{16} 884 } 885 886 func (m *ReqWalletImportPrivkey) XXX_Unmarshal(b []byte) error { 887 return xxx_messageInfo_ReqWalletImportPrivkey.Unmarshal(m, b) 888 } 889 func (m *ReqWalletImportPrivkey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 890 return xxx_messageInfo_ReqWalletImportPrivkey.Marshal(b, m, deterministic) 891 } 892 func (m *ReqWalletImportPrivkey) XXX_Merge(src proto.Message) { 893 xxx_messageInfo_ReqWalletImportPrivkey.Merge(m, src) 894 } 895 func (m *ReqWalletImportPrivkey) XXX_Size() int { 896 return xxx_messageInfo_ReqWalletImportPrivkey.Size(m) 897 } 898 func (m *ReqWalletImportPrivkey) XXX_DiscardUnknown() { 899 xxx_messageInfo_ReqWalletImportPrivkey.DiscardUnknown(m) 900 } 901 902 var xxx_messageInfo_ReqWalletImportPrivkey proto.InternalMessageInfo 903 904 func (m *ReqWalletImportPrivkey) GetPrivkey() string { 905 if m != nil { 906 return m.Privkey 907 } 908 return "" 909 } 910 911 func (m *ReqWalletImportPrivkey) GetLabel() string { 912 if m != nil { 913 return m.Label 914 } 915 return "" 916 } 917 918 //发送交易 919 // from : 打出地址 920 // to :接受地址 921 // amount : 转账额度 922 // note :转账备注 923 type ReqWalletSendToAddress struct { 924 From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` 925 To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` 926 Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` 927 Note string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"` 928 IsToken bool `protobuf:"varint,5,opt,name=isToken,proto3" json:"isToken,omitempty"` 929 TokenSymbol string `protobuf:"bytes,6,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"` 930 XXX_NoUnkeyedLiteral struct{} `json:"-"` 931 XXX_unrecognized []byte `json:"-"` 932 XXX_sizecache int32 `json:"-"` 933 } 934 935 func (m *ReqWalletSendToAddress) Reset() { *m = ReqWalletSendToAddress{} } 936 func (m *ReqWalletSendToAddress) String() string { return proto.CompactTextString(m) } 937 func (*ReqWalletSendToAddress) ProtoMessage() {} 938 func (*ReqWalletSendToAddress) Descriptor() ([]byte, []int) { 939 return fileDescriptor_b88fd140af4deb6f, []int{17} 940 } 941 942 func (m *ReqWalletSendToAddress) XXX_Unmarshal(b []byte) error { 943 return xxx_messageInfo_ReqWalletSendToAddress.Unmarshal(m, b) 944 } 945 func (m *ReqWalletSendToAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 946 return xxx_messageInfo_ReqWalletSendToAddress.Marshal(b, m, deterministic) 947 } 948 func (m *ReqWalletSendToAddress) XXX_Merge(src proto.Message) { 949 xxx_messageInfo_ReqWalletSendToAddress.Merge(m, src) 950 } 951 func (m *ReqWalletSendToAddress) XXX_Size() int { 952 return xxx_messageInfo_ReqWalletSendToAddress.Size(m) 953 } 954 func (m *ReqWalletSendToAddress) XXX_DiscardUnknown() { 955 xxx_messageInfo_ReqWalletSendToAddress.DiscardUnknown(m) 956 } 957 958 var xxx_messageInfo_ReqWalletSendToAddress proto.InternalMessageInfo 959 960 func (m *ReqWalletSendToAddress) GetFrom() string { 961 if m != nil { 962 return m.From 963 } 964 return "" 965 } 966 967 func (m *ReqWalletSendToAddress) GetTo() string { 968 if m != nil { 969 return m.To 970 } 971 return "" 972 } 973 974 func (m *ReqWalletSendToAddress) GetAmount() int64 { 975 if m != nil { 976 return m.Amount 977 } 978 return 0 979 } 980 981 func (m *ReqWalletSendToAddress) GetNote() string { 982 if m != nil { 983 return m.Note 984 } 985 return "" 986 } 987 988 func (m *ReqWalletSendToAddress) GetIsToken() bool { 989 if m != nil { 990 return m.IsToken 991 } 992 return false 993 } 994 995 func (m *ReqWalletSendToAddress) GetTokenSymbol() string { 996 if m != nil { 997 return m.TokenSymbol 998 } 999 return "" 1000 } 1001 1002 type ReqWalletSetFee struct { 1003 Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` 1004 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1005 XXX_unrecognized []byte `json:"-"` 1006 XXX_sizecache int32 `json:"-"` 1007 } 1008 1009 func (m *ReqWalletSetFee) Reset() { *m = ReqWalletSetFee{} } 1010 func (m *ReqWalletSetFee) String() string { return proto.CompactTextString(m) } 1011 func (*ReqWalletSetFee) ProtoMessage() {} 1012 func (*ReqWalletSetFee) Descriptor() ([]byte, []int) { 1013 return fileDescriptor_b88fd140af4deb6f, []int{18} 1014 } 1015 1016 func (m *ReqWalletSetFee) XXX_Unmarshal(b []byte) error { 1017 return xxx_messageInfo_ReqWalletSetFee.Unmarshal(m, b) 1018 } 1019 func (m *ReqWalletSetFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1020 return xxx_messageInfo_ReqWalletSetFee.Marshal(b, m, deterministic) 1021 } 1022 func (m *ReqWalletSetFee) XXX_Merge(src proto.Message) { 1023 xxx_messageInfo_ReqWalletSetFee.Merge(m, src) 1024 } 1025 func (m *ReqWalletSetFee) XXX_Size() int { 1026 return xxx_messageInfo_ReqWalletSetFee.Size(m) 1027 } 1028 func (m *ReqWalletSetFee) XXX_DiscardUnknown() { 1029 xxx_messageInfo_ReqWalletSetFee.DiscardUnknown(m) 1030 } 1031 1032 var xxx_messageInfo_ReqWalletSetFee proto.InternalMessageInfo 1033 1034 func (m *ReqWalletSetFee) GetAmount() int64 { 1035 if m != nil { 1036 return m.Amount 1037 } 1038 return 0 1039 } 1040 1041 type ReqWalletSetLabel struct { 1042 Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` 1043 Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` 1044 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1045 XXX_unrecognized []byte `json:"-"` 1046 XXX_sizecache int32 `json:"-"` 1047 } 1048 1049 func (m *ReqWalletSetLabel) Reset() { *m = ReqWalletSetLabel{} } 1050 func (m *ReqWalletSetLabel) String() string { return proto.CompactTextString(m) } 1051 func (*ReqWalletSetLabel) ProtoMessage() {} 1052 func (*ReqWalletSetLabel) Descriptor() ([]byte, []int) { 1053 return fileDescriptor_b88fd140af4deb6f, []int{19} 1054 } 1055 1056 func (m *ReqWalletSetLabel) XXX_Unmarshal(b []byte) error { 1057 return xxx_messageInfo_ReqWalletSetLabel.Unmarshal(m, b) 1058 } 1059 func (m *ReqWalletSetLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1060 return xxx_messageInfo_ReqWalletSetLabel.Marshal(b, m, deterministic) 1061 } 1062 func (m *ReqWalletSetLabel) XXX_Merge(src proto.Message) { 1063 xxx_messageInfo_ReqWalletSetLabel.Merge(m, src) 1064 } 1065 func (m *ReqWalletSetLabel) XXX_Size() int { 1066 return xxx_messageInfo_ReqWalletSetLabel.Size(m) 1067 } 1068 func (m *ReqWalletSetLabel) XXX_DiscardUnknown() { 1069 xxx_messageInfo_ReqWalletSetLabel.DiscardUnknown(m) 1070 } 1071 1072 var xxx_messageInfo_ReqWalletSetLabel proto.InternalMessageInfo 1073 1074 func (m *ReqWalletSetLabel) GetAddr() string { 1075 if m != nil { 1076 return m.Addr 1077 } 1078 return "" 1079 } 1080 1081 func (m *ReqWalletSetLabel) GetLabel() string { 1082 if m != nil { 1083 return m.Label 1084 } 1085 return "" 1086 } 1087 1088 type ReqWalletMergeBalance struct { 1089 To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` 1090 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1091 XXX_unrecognized []byte `json:"-"` 1092 XXX_sizecache int32 `json:"-"` 1093 } 1094 1095 func (m *ReqWalletMergeBalance) Reset() { *m = ReqWalletMergeBalance{} } 1096 func (m *ReqWalletMergeBalance) String() string { return proto.CompactTextString(m) } 1097 func (*ReqWalletMergeBalance) ProtoMessage() {} 1098 func (*ReqWalletMergeBalance) Descriptor() ([]byte, []int) { 1099 return fileDescriptor_b88fd140af4deb6f, []int{20} 1100 } 1101 1102 func (m *ReqWalletMergeBalance) XXX_Unmarshal(b []byte) error { 1103 return xxx_messageInfo_ReqWalletMergeBalance.Unmarshal(m, b) 1104 } 1105 func (m *ReqWalletMergeBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1106 return xxx_messageInfo_ReqWalletMergeBalance.Marshal(b, m, deterministic) 1107 } 1108 func (m *ReqWalletMergeBalance) XXX_Merge(src proto.Message) { 1109 xxx_messageInfo_ReqWalletMergeBalance.Merge(m, src) 1110 } 1111 func (m *ReqWalletMergeBalance) XXX_Size() int { 1112 return xxx_messageInfo_ReqWalletMergeBalance.Size(m) 1113 } 1114 func (m *ReqWalletMergeBalance) XXX_DiscardUnknown() { 1115 xxx_messageInfo_ReqWalletMergeBalance.DiscardUnknown(m) 1116 } 1117 1118 var xxx_messageInfo_ReqWalletMergeBalance proto.InternalMessageInfo 1119 1120 func (m *ReqWalletMergeBalance) GetTo() string { 1121 if m != nil { 1122 return m.To 1123 } 1124 return "" 1125 } 1126 1127 type ReqTokenPreCreate struct { 1128 CreatorAddr string `protobuf:"bytes,1,opt,name=creator_addr,json=creatorAddr,proto3" json:"creator_addr,omitempty"` 1129 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 1130 Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` 1131 Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"` 1132 OwnerAddr string `protobuf:"bytes,5,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"` 1133 Total int64 `protobuf:"varint,6,opt,name=total,proto3" json:"total,omitempty"` 1134 Price int64 `protobuf:"varint,7,opt,name=price,proto3" json:"price,omitempty"` 1135 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1136 XXX_unrecognized []byte `json:"-"` 1137 XXX_sizecache int32 `json:"-"` 1138 } 1139 1140 func (m *ReqTokenPreCreate) Reset() { *m = ReqTokenPreCreate{} } 1141 func (m *ReqTokenPreCreate) String() string { return proto.CompactTextString(m) } 1142 func (*ReqTokenPreCreate) ProtoMessage() {} 1143 func (*ReqTokenPreCreate) Descriptor() ([]byte, []int) { 1144 return fileDescriptor_b88fd140af4deb6f, []int{21} 1145 } 1146 1147 func (m *ReqTokenPreCreate) XXX_Unmarshal(b []byte) error { 1148 return xxx_messageInfo_ReqTokenPreCreate.Unmarshal(m, b) 1149 } 1150 func (m *ReqTokenPreCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1151 return xxx_messageInfo_ReqTokenPreCreate.Marshal(b, m, deterministic) 1152 } 1153 func (m *ReqTokenPreCreate) XXX_Merge(src proto.Message) { 1154 xxx_messageInfo_ReqTokenPreCreate.Merge(m, src) 1155 } 1156 func (m *ReqTokenPreCreate) XXX_Size() int { 1157 return xxx_messageInfo_ReqTokenPreCreate.Size(m) 1158 } 1159 func (m *ReqTokenPreCreate) XXX_DiscardUnknown() { 1160 xxx_messageInfo_ReqTokenPreCreate.DiscardUnknown(m) 1161 } 1162 1163 var xxx_messageInfo_ReqTokenPreCreate proto.InternalMessageInfo 1164 1165 func (m *ReqTokenPreCreate) GetCreatorAddr() string { 1166 if m != nil { 1167 return m.CreatorAddr 1168 } 1169 return "" 1170 } 1171 1172 func (m *ReqTokenPreCreate) GetName() string { 1173 if m != nil { 1174 return m.Name 1175 } 1176 return "" 1177 } 1178 1179 func (m *ReqTokenPreCreate) GetSymbol() string { 1180 if m != nil { 1181 return m.Symbol 1182 } 1183 return "" 1184 } 1185 1186 func (m *ReqTokenPreCreate) GetIntroduction() string { 1187 if m != nil { 1188 return m.Introduction 1189 } 1190 return "" 1191 } 1192 1193 func (m *ReqTokenPreCreate) GetOwnerAddr() string { 1194 if m != nil { 1195 return m.OwnerAddr 1196 } 1197 return "" 1198 } 1199 1200 func (m *ReqTokenPreCreate) GetTotal() int64 { 1201 if m != nil { 1202 return m.Total 1203 } 1204 return 0 1205 } 1206 1207 func (m *ReqTokenPreCreate) GetPrice() int64 { 1208 if m != nil { 1209 return m.Price 1210 } 1211 return 0 1212 } 1213 1214 type ReqTokenFinishCreate struct { 1215 FinisherAddr string `protobuf:"bytes,1,opt,name=finisher_addr,json=finisherAddr,proto3" json:"finisher_addr,omitempty"` 1216 Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` 1217 OwnerAddr string `protobuf:"bytes,3,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"` 1218 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1219 XXX_unrecognized []byte `json:"-"` 1220 XXX_sizecache int32 `json:"-"` 1221 } 1222 1223 func (m *ReqTokenFinishCreate) Reset() { *m = ReqTokenFinishCreate{} } 1224 func (m *ReqTokenFinishCreate) String() string { return proto.CompactTextString(m) } 1225 func (*ReqTokenFinishCreate) ProtoMessage() {} 1226 func (*ReqTokenFinishCreate) Descriptor() ([]byte, []int) { 1227 return fileDescriptor_b88fd140af4deb6f, []int{22} 1228 } 1229 1230 func (m *ReqTokenFinishCreate) XXX_Unmarshal(b []byte) error { 1231 return xxx_messageInfo_ReqTokenFinishCreate.Unmarshal(m, b) 1232 } 1233 func (m *ReqTokenFinishCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1234 return xxx_messageInfo_ReqTokenFinishCreate.Marshal(b, m, deterministic) 1235 } 1236 func (m *ReqTokenFinishCreate) XXX_Merge(src proto.Message) { 1237 xxx_messageInfo_ReqTokenFinishCreate.Merge(m, src) 1238 } 1239 func (m *ReqTokenFinishCreate) XXX_Size() int { 1240 return xxx_messageInfo_ReqTokenFinishCreate.Size(m) 1241 } 1242 func (m *ReqTokenFinishCreate) XXX_DiscardUnknown() { 1243 xxx_messageInfo_ReqTokenFinishCreate.DiscardUnknown(m) 1244 } 1245 1246 var xxx_messageInfo_ReqTokenFinishCreate proto.InternalMessageInfo 1247 1248 func (m *ReqTokenFinishCreate) GetFinisherAddr() string { 1249 if m != nil { 1250 return m.FinisherAddr 1251 } 1252 return "" 1253 } 1254 1255 func (m *ReqTokenFinishCreate) GetSymbol() string { 1256 if m != nil { 1257 return m.Symbol 1258 } 1259 return "" 1260 } 1261 1262 func (m *ReqTokenFinishCreate) GetOwnerAddr() string { 1263 if m != nil { 1264 return m.OwnerAddr 1265 } 1266 return "" 1267 } 1268 1269 type ReqTokenRevokeCreate struct { 1270 RevokerAddr string `protobuf:"bytes,1,opt,name=revoker_addr,json=revokerAddr,proto3" json:"revoker_addr,omitempty"` 1271 Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` 1272 OwnerAddr string `protobuf:"bytes,3,opt,name=owner_addr,json=ownerAddr,proto3" json:"owner_addr,omitempty"` 1273 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1274 XXX_unrecognized []byte `json:"-"` 1275 XXX_sizecache int32 `json:"-"` 1276 } 1277 1278 func (m *ReqTokenRevokeCreate) Reset() { *m = ReqTokenRevokeCreate{} } 1279 func (m *ReqTokenRevokeCreate) String() string { return proto.CompactTextString(m) } 1280 func (*ReqTokenRevokeCreate) ProtoMessage() {} 1281 func (*ReqTokenRevokeCreate) Descriptor() ([]byte, []int) { 1282 return fileDescriptor_b88fd140af4deb6f, []int{23} 1283 } 1284 1285 func (m *ReqTokenRevokeCreate) XXX_Unmarshal(b []byte) error { 1286 return xxx_messageInfo_ReqTokenRevokeCreate.Unmarshal(m, b) 1287 } 1288 func (m *ReqTokenRevokeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1289 return xxx_messageInfo_ReqTokenRevokeCreate.Marshal(b, m, deterministic) 1290 } 1291 func (m *ReqTokenRevokeCreate) XXX_Merge(src proto.Message) { 1292 xxx_messageInfo_ReqTokenRevokeCreate.Merge(m, src) 1293 } 1294 func (m *ReqTokenRevokeCreate) XXX_Size() int { 1295 return xxx_messageInfo_ReqTokenRevokeCreate.Size(m) 1296 } 1297 func (m *ReqTokenRevokeCreate) XXX_DiscardUnknown() { 1298 xxx_messageInfo_ReqTokenRevokeCreate.DiscardUnknown(m) 1299 } 1300 1301 var xxx_messageInfo_ReqTokenRevokeCreate proto.InternalMessageInfo 1302 1303 func (m *ReqTokenRevokeCreate) GetRevokerAddr() string { 1304 if m != nil { 1305 return m.RevokerAddr 1306 } 1307 return "" 1308 } 1309 1310 func (m *ReqTokenRevokeCreate) GetSymbol() string { 1311 if m != nil { 1312 return m.Symbol 1313 } 1314 return "" 1315 } 1316 1317 func (m *ReqTokenRevokeCreate) GetOwnerAddr() string { 1318 if m != nil { 1319 return m.OwnerAddr 1320 } 1321 return "" 1322 } 1323 1324 type ReqModifyConfig struct { 1325 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 1326 Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` 1327 Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` 1328 Modifier string `protobuf:"bytes,4,opt,name=modifier,proto3" json:"modifier,omitempty"` 1329 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1330 XXX_unrecognized []byte `json:"-"` 1331 XXX_sizecache int32 `json:"-"` 1332 } 1333 1334 func (m *ReqModifyConfig) Reset() { *m = ReqModifyConfig{} } 1335 func (m *ReqModifyConfig) String() string { return proto.CompactTextString(m) } 1336 func (*ReqModifyConfig) ProtoMessage() {} 1337 func (*ReqModifyConfig) Descriptor() ([]byte, []int) { 1338 return fileDescriptor_b88fd140af4deb6f, []int{24} 1339 } 1340 1341 func (m *ReqModifyConfig) XXX_Unmarshal(b []byte) error { 1342 return xxx_messageInfo_ReqModifyConfig.Unmarshal(m, b) 1343 } 1344 func (m *ReqModifyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1345 return xxx_messageInfo_ReqModifyConfig.Marshal(b, m, deterministic) 1346 } 1347 func (m *ReqModifyConfig) XXX_Merge(src proto.Message) { 1348 xxx_messageInfo_ReqModifyConfig.Merge(m, src) 1349 } 1350 func (m *ReqModifyConfig) XXX_Size() int { 1351 return xxx_messageInfo_ReqModifyConfig.Size(m) 1352 } 1353 func (m *ReqModifyConfig) XXX_DiscardUnknown() { 1354 xxx_messageInfo_ReqModifyConfig.DiscardUnknown(m) 1355 } 1356 1357 var xxx_messageInfo_ReqModifyConfig proto.InternalMessageInfo 1358 1359 func (m *ReqModifyConfig) GetKey() string { 1360 if m != nil { 1361 return m.Key 1362 } 1363 return "" 1364 } 1365 1366 func (m *ReqModifyConfig) GetOp() string { 1367 if m != nil { 1368 return m.Op 1369 } 1370 return "" 1371 } 1372 1373 func (m *ReqModifyConfig) GetValue() string { 1374 if m != nil { 1375 return m.Value 1376 } 1377 return "" 1378 } 1379 1380 func (m *ReqModifyConfig) GetModifier() string { 1381 if m != nil { 1382 return m.Modifier 1383 } 1384 return "" 1385 } 1386 1387 type ReqSignRawTx struct { 1388 Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` 1389 Privkey string `protobuf:"bytes,2,opt,name=privkey,proto3" json:"privkey,omitempty"` 1390 TxHex string `protobuf:"bytes,3,opt,name=txHex,proto3" json:"txHex,omitempty"` 1391 Expire string `protobuf:"bytes,4,opt,name=expire,proto3" json:"expire,omitempty"` 1392 Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` 1393 // 签名的模式类型 1394 // 0:普通交易 1395 // 1:隐私交易 1396 // int32 mode = 6; 1397 Token string `protobuf:"bytes,7,opt,name=token,proto3" json:"token,omitempty"` 1398 Fee int64 `protobuf:"varint,8,opt,name=fee,proto3" json:"fee,omitempty"` 1399 // bytes newExecer = 9; 1400 NewToAddr string `protobuf:"bytes,10,opt,name=newToAddr,proto3" json:"newToAddr,omitempty"` 1401 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1402 XXX_unrecognized []byte `json:"-"` 1403 XXX_sizecache int32 `json:"-"` 1404 } 1405 1406 func (m *ReqSignRawTx) Reset() { *m = ReqSignRawTx{} } 1407 func (m *ReqSignRawTx) String() string { return proto.CompactTextString(m) } 1408 func (*ReqSignRawTx) ProtoMessage() {} 1409 func (*ReqSignRawTx) Descriptor() ([]byte, []int) { 1410 return fileDescriptor_b88fd140af4deb6f, []int{25} 1411 } 1412 1413 func (m *ReqSignRawTx) XXX_Unmarshal(b []byte) error { 1414 return xxx_messageInfo_ReqSignRawTx.Unmarshal(m, b) 1415 } 1416 func (m *ReqSignRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1417 return xxx_messageInfo_ReqSignRawTx.Marshal(b, m, deterministic) 1418 } 1419 func (m *ReqSignRawTx) XXX_Merge(src proto.Message) { 1420 xxx_messageInfo_ReqSignRawTx.Merge(m, src) 1421 } 1422 func (m *ReqSignRawTx) XXX_Size() int { 1423 return xxx_messageInfo_ReqSignRawTx.Size(m) 1424 } 1425 func (m *ReqSignRawTx) XXX_DiscardUnknown() { 1426 xxx_messageInfo_ReqSignRawTx.DiscardUnknown(m) 1427 } 1428 1429 var xxx_messageInfo_ReqSignRawTx proto.InternalMessageInfo 1430 1431 func (m *ReqSignRawTx) GetAddr() string { 1432 if m != nil { 1433 return m.Addr 1434 } 1435 return "" 1436 } 1437 1438 func (m *ReqSignRawTx) GetPrivkey() string { 1439 if m != nil { 1440 return m.Privkey 1441 } 1442 return "" 1443 } 1444 1445 func (m *ReqSignRawTx) GetTxHex() string { 1446 if m != nil { 1447 return m.TxHex 1448 } 1449 return "" 1450 } 1451 1452 func (m *ReqSignRawTx) GetExpire() string { 1453 if m != nil { 1454 return m.Expire 1455 } 1456 return "" 1457 } 1458 1459 func (m *ReqSignRawTx) GetIndex() int32 { 1460 if m != nil { 1461 return m.Index 1462 } 1463 return 0 1464 } 1465 1466 func (m *ReqSignRawTx) GetToken() string { 1467 if m != nil { 1468 return m.Token 1469 } 1470 return "" 1471 } 1472 1473 func (m *ReqSignRawTx) GetFee() int64 { 1474 if m != nil { 1475 return m.Fee 1476 } 1477 return 0 1478 } 1479 1480 func (m *ReqSignRawTx) GetNewToAddr() string { 1481 if m != nil { 1482 return m.NewToAddr 1483 } 1484 return "" 1485 } 1486 1487 type ReplySignRawTx struct { 1488 TxHex string `protobuf:"bytes,1,opt,name=txHex,proto3" json:"txHex,omitempty"` 1489 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1490 XXX_unrecognized []byte `json:"-"` 1491 XXX_sizecache int32 `json:"-"` 1492 } 1493 1494 func (m *ReplySignRawTx) Reset() { *m = ReplySignRawTx{} } 1495 func (m *ReplySignRawTx) String() string { return proto.CompactTextString(m) } 1496 func (*ReplySignRawTx) ProtoMessage() {} 1497 func (*ReplySignRawTx) Descriptor() ([]byte, []int) { 1498 return fileDescriptor_b88fd140af4deb6f, []int{26} 1499 } 1500 1501 func (m *ReplySignRawTx) XXX_Unmarshal(b []byte) error { 1502 return xxx_messageInfo_ReplySignRawTx.Unmarshal(m, b) 1503 } 1504 func (m *ReplySignRawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1505 return xxx_messageInfo_ReplySignRawTx.Marshal(b, m, deterministic) 1506 } 1507 func (m *ReplySignRawTx) XXX_Merge(src proto.Message) { 1508 xxx_messageInfo_ReplySignRawTx.Merge(m, src) 1509 } 1510 func (m *ReplySignRawTx) XXX_Size() int { 1511 return xxx_messageInfo_ReplySignRawTx.Size(m) 1512 } 1513 func (m *ReplySignRawTx) XXX_DiscardUnknown() { 1514 xxx_messageInfo_ReplySignRawTx.DiscardUnknown(m) 1515 } 1516 1517 var xxx_messageInfo_ReplySignRawTx proto.InternalMessageInfo 1518 1519 func (m *ReplySignRawTx) GetTxHex() string { 1520 if m != nil { 1521 return m.TxHex 1522 } 1523 return "" 1524 } 1525 1526 type ReportErrEvent struct { 1527 Frommodule string `protobuf:"bytes,1,opt,name=frommodule,proto3" json:"frommodule,omitempty"` 1528 Tomodule string `protobuf:"bytes,2,opt,name=tomodule,proto3" json:"tomodule,omitempty"` 1529 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` 1530 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1531 XXX_unrecognized []byte `json:"-"` 1532 XXX_sizecache int32 `json:"-"` 1533 } 1534 1535 func (m *ReportErrEvent) Reset() { *m = ReportErrEvent{} } 1536 func (m *ReportErrEvent) String() string { return proto.CompactTextString(m) } 1537 func (*ReportErrEvent) ProtoMessage() {} 1538 func (*ReportErrEvent) Descriptor() ([]byte, []int) { 1539 return fileDescriptor_b88fd140af4deb6f, []int{27} 1540 } 1541 1542 func (m *ReportErrEvent) XXX_Unmarshal(b []byte) error { 1543 return xxx_messageInfo_ReportErrEvent.Unmarshal(m, b) 1544 } 1545 func (m *ReportErrEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1546 return xxx_messageInfo_ReportErrEvent.Marshal(b, m, deterministic) 1547 } 1548 func (m *ReportErrEvent) XXX_Merge(src proto.Message) { 1549 xxx_messageInfo_ReportErrEvent.Merge(m, src) 1550 } 1551 func (m *ReportErrEvent) XXX_Size() int { 1552 return xxx_messageInfo_ReportErrEvent.Size(m) 1553 } 1554 func (m *ReportErrEvent) XXX_DiscardUnknown() { 1555 xxx_messageInfo_ReportErrEvent.DiscardUnknown(m) 1556 } 1557 1558 var xxx_messageInfo_ReportErrEvent proto.InternalMessageInfo 1559 1560 func (m *ReportErrEvent) GetFrommodule() string { 1561 if m != nil { 1562 return m.Frommodule 1563 } 1564 return "" 1565 } 1566 1567 func (m *ReportErrEvent) GetTomodule() string { 1568 if m != nil { 1569 return m.Tomodule 1570 } 1571 return "" 1572 } 1573 1574 func (m *ReportErrEvent) GetError() string { 1575 if m != nil { 1576 return m.Error 1577 } 1578 return "" 1579 } 1580 1581 type Int32 struct { 1582 Data int32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` 1583 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1584 XXX_unrecognized []byte `json:"-"` 1585 XXX_sizecache int32 `json:"-"` 1586 } 1587 1588 func (m *Int32) Reset() { *m = Int32{} } 1589 func (m *Int32) String() string { return proto.CompactTextString(m) } 1590 func (*Int32) ProtoMessage() {} 1591 func (*Int32) Descriptor() ([]byte, []int) { 1592 return fileDescriptor_b88fd140af4deb6f, []int{28} 1593 } 1594 1595 func (m *Int32) XXX_Unmarshal(b []byte) error { 1596 return xxx_messageInfo_Int32.Unmarshal(m, b) 1597 } 1598 func (m *Int32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1599 return xxx_messageInfo_Int32.Marshal(b, m, deterministic) 1600 } 1601 func (m *Int32) XXX_Merge(src proto.Message) { 1602 xxx_messageInfo_Int32.Merge(m, src) 1603 } 1604 func (m *Int32) XXX_Size() int { 1605 return xxx_messageInfo_Int32.Size(m) 1606 } 1607 func (m *Int32) XXX_DiscardUnknown() { 1608 xxx_messageInfo_Int32.DiscardUnknown(m) 1609 } 1610 1611 var xxx_messageInfo_Int32 proto.InternalMessageInfo 1612 1613 func (m *Int32) GetData() int32 { 1614 if m != nil { 1615 return m.Data 1616 } 1617 return 0 1618 } 1619 1620 type ReqAccountList struct { 1621 WithoutBalance bool `protobuf:"varint,1,opt,name=withoutBalance,proto3" json:"withoutBalance,omitempty"` 1622 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1623 XXX_unrecognized []byte `json:"-"` 1624 XXX_sizecache int32 `json:"-"` 1625 } 1626 1627 func (m *ReqAccountList) Reset() { *m = ReqAccountList{} } 1628 func (m *ReqAccountList) String() string { return proto.CompactTextString(m) } 1629 func (*ReqAccountList) ProtoMessage() {} 1630 func (*ReqAccountList) Descriptor() ([]byte, []int) { 1631 return fileDescriptor_b88fd140af4deb6f, []int{29} 1632 } 1633 1634 func (m *ReqAccountList) XXX_Unmarshal(b []byte) error { 1635 return xxx_messageInfo_ReqAccountList.Unmarshal(m, b) 1636 } 1637 func (m *ReqAccountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1638 return xxx_messageInfo_ReqAccountList.Marshal(b, m, deterministic) 1639 } 1640 func (m *ReqAccountList) XXX_Merge(src proto.Message) { 1641 xxx_messageInfo_ReqAccountList.Merge(m, src) 1642 } 1643 func (m *ReqAccountList) XXX_Size() int { 1644 return xxx_messageInfo_ReqAccountList.Size(m) 1645 } 1646 func (m *ReqAccountList) XXX_DiscardUnknown() { 1647 xxx_messageInfo_ReqAccountList.DiscardUnknown(m) 1648 } 1649 1650 var xxx_messageInfo_ReqAccountList proto.InternalMessageInfo 1651 1652 func (m *ReqAccountList) GetWithoutBalance() bool { 1653 if m != nil { 1654 return m.WithoutBalance 1655 } 1656 return false 1657 } 1658 1659 type ReqPrivkeysFile struct { 1660 FileName string `protobuf:"bytes,1,opt,name=fileName,proto3" json:"fileName,omitempty"` 1661 Passwd string `protobuf:"bytes,2,opt,name=passwd,proto3" json:"passwd,omitempty"` 1662 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1663 XXX_unrecognized []byte `json:"-"` 1664 XXX_sizecache int32 `json:"-"` 1665 } 1666 1667 func (m *ReqPrivkeysFile) Reset() { *m = ReqPrivkeysFile{} } 1668 func (m *ReqPrivkeysFile) String() string { return proto.CompactTextString(m) } 1669 func (*ReqPrivkeysFile) ProtoMessage() {} 1670 func (*ReqPrivkeysFile) Descriptor() ([]byte, []int) { 1671 return fileDescriptor_b88fd140af4deb6f, []int{30} 1672 } 1673 1674 func (m *ReqPrivkeysFile) XXX_Unmarshal(b []byte) error { 1675 return xxx_messageInfo_ReqPrivkeysFile.Unmarshal(m, b) 1676 } 1677 func (m *ReqPrivkeysFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1678 return xxx_messageInfo_ReqPrivkeysFile.Marshal(b, m, deterministic) 1679 } 1680 func (m *ReqPrivkeysFile) XXX_Merge(src proto.Message) { 1681 xxx_messageInfo_ReqPrivkeysFile.Merge(m, src) 1682 } 1683 func (m *ReqPrivkeysFile) XXX_Size() int { 1684 return xxx_messageInfo_ReqPrivkeysFile.Size(m) 1685 } 1686 func (m *ReqPrivkeysFile) XXX_DiscardUnknown() { 1687 xxx_messageInfo_ReqPrivkeysFile.DiscardUnknown(m) 1688 } 1689 1690 var xxx_messageInfo_ReqPrivkeysFile proto.InternalMessageInfo 1691 1692 func (m *ReqPrivkeysFile) GetFileName() string { 1693 if m != nil { 1694 return m.FileName 1695 } 1696 return "" 1697 } 1698 1699 func (m *ReqPrivkeysFile) GetPasswd() string { 1700 if m != nil { 1701 return m.Passwd 1702 } 1703 return "" 1704 } 1705 1706 func init() { 1707 proto.RegisterType((*WalletTxDetail)(nil), "types.WalletTxDetail") 1708 proto.RegisterType((*WalletTxDetails)(nil), "types.WalletTxDetails") 1709 proto.RegisterType((*WalletAccountStore)(nil), "types.WalletAccountStore") 1710 proto.RegisterType((*WalletPwHash)(nil), "types.WalletPwHash") 1711 proto.RegisterType((*WalletStatus)(nil), "types.WalletStatus") 1712 proto.RegisterType((*WalletAccounts)(nil), "types.WalletAccounts") 1713 proto.RegisterType((*WalletAccount)(nil), "types.WalletAccount") 1714 proto.RegisterType((*WalletUnLock)(nil), "types.WalletUnLock") 1715 proto.RegisterType((*GenSeedLang)(nil), "types.GenSeedLang") 1716 proto.RegisterType((*GetSeedByPw)(nil), "types.GetSeedByPw") 1717 proto.RegisterType((*SaveSeedByPw)(nil), "types.SaveSeedByPw") 1718 proto.RegisterType((*ReplySeed)(nil), "types.ReplySeed") 1719 proto.RegisterType((*ReqWalletSetPasswd)(nil), "types.ReqWalletSetPasswd") 1720 proto.RegisterType((*ReqNewAccount)(nil), "types.ReqNewAccount") 1721 proto.RegisterType((*ReqGetAccount)(nil), "types.ReqGetAccount") 1722 proto.RegisterType((*ReqWalletTransactionList)(nil), "types.ReqWalletTransactionList") 1723 proto.RegisterType((*ReqWalletImportPrivkey)(nil), "types.ReqWalletImportPrivkey") 1724 proto.RegisterType((*ReqWalletSendToAddress)(nil), "types.ReqWalletSendToAddress") 1725 proto.RegisterType((*ReqWalletSetFee)(nil), "types.ReqWalletSetFee") 1726 proto.RegisterType((*ReqWalletSetLabel)(nil), "types.ReqWalletSetLabel") 1727 proto.RegisterType((*ReqWalletMergeBalance)(nil), "types.ReqWalletMergeBalance") 1728 proto.RegisterType((*ReqTokenPreCreate)(nil), "types.ReqTokenPreCreate") 1729 proto.RegisterType((*ReqTokenFinishCreate)(nil), "types.ReqTokenFinishCreate") 1730 proto.RegisterType((*ReqTokenRevokeCreate)(nil), "types.ReqTokenRevokeCreate") 1731 proto.RegisterType((*ReqModifyConfig)(nil), "types.ReqModifyConfig") 1732 proto.RegisterType((*ReqSignRawTx)(nil), "types.ReqSignRawTx") 1733 proto.RegisterType((*ReplySignRawTx)(nil), "types.ReplySignRawTx") 1734 proto.RegisterType((*ReportErrEvent)(nil), "types.ReportErrEvent") 1735 proto.RegisterType((*Int32)(nil), "types.Int32") 1736 proto.RegisterType((*ReqAccountList)(nil), "types.ReqAccountList") 1737 proto.RegisterType((*ReqPrivkeysFile)(nil), "types.ReqPrivkeysFile") 1738 } 1739 1740 func init() { 1741 proto.RegisterFile("wallet.proto", fileDescriptor_b88fd140af4deb6f) 1742 } 1743 1744 var fileDescriptor_b88fd140af4deb6f = []byte{ 1745 // 1234 bytes of a gzipped FileDescriptorProto 1746 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x5d, 0x6e, 0x1b, 0x37, 1747 0x10, 0xc6, 0x4a, 0x96, 0x6d, 0xd1, 0xb2, 0x93, 0x10, 0x49, 0x20, 0xa4, 0x4d, 0xa3, 0xb0, 0x48, 1748 0xea, 0x02, 0x85, 0x03, 0x44, 0x2f, 0x45, 0x81, 0x02, 0x71, 0x7e, 0x1c, 0x07, 0x70, 0x52, 0x83, 1749 0x52, 0x51, 0xa0, 0x2f, 0x05, 0xbd, 0x3b, 0x92, 0x08, 0xaf, 0xc8, 0x35, 0x97, 0xb2, 0xa4, 0x9b, 1750 0xf4, 0x00, 0x3d, 0x42, 0xcf, 0xd0, 0xf7, 0xde, 0xa8, 0xe0, 0x90, 0xd4, 0xee, 0xba, 0xce, 0x43, 1751 0xd1, 0x37, 0x7e, 0xc3, 0xe1, 0xfc, 0x7c, 0xc3, 0x19, 0x92, 0xf4, 0x96, 0x22, 0xcf, 0xc1, 0x1e, 1752 0x15, 0x46, 0x5b, 0x4d, 0x3b, 0x76, 0x5d, 0x40, 0xf9, 0xe8, 0x9e, 0x35, 0x42, 0x95, 0x22, 0xb5, 1753 0x52, 0x2b, 0xbf, 0xf3, 0x68, 0x5f, 0xa4, 0xa9, 0x5e, 0xa8, 0xa0, 0xc8, 0xfe, 0x6c, 0x91, 0x83, 1754 0x5f, 0xf0, 0xe4, 0x78, 0xf5, 0x16, 0xac, 0x90, 0x39, 0x65, 0xa4, 0x65, 0x57, 0xfd, 0x64, 0x90, 1755 0x1c, 0xee, 0xbd, 0xa4, 0x47, 0x68, 0xe8, 0x68, 0x5c, 0xd9, 0xe1, 0x2d, 0xbb, 0xa2, 0xdf, 0x91, 1756 0x1d, 0x03, 0x29, 0xc8, 0xc2, 0xf6, 0x5b, 0x0d, 0x45, 0xee, 0xa5, 0x6f, 0x85, 0x15, 0x3c, 0xaa, 1757 0xd0, 0x87, 0x64, 0x7b, 0x06, 0x72, 0x3a, 0xb3, 0xfd, 0xf6, 0x20, 0x39, 0x6c, 0xf3, 0x80, 0xe8, 1758 0x7d, 0xd2, 0x91, 0x2a, 0x83, 0x55, 0x7f, 0x0b, 0xc5, 0x1e, 0xd0, 0x2f, 0x49, 0xf7, 0x22, 0xd7, 1759 0xe9, 0xa5, 0x95, 0x73, 0xe8, 0x77, 0x70, 0xa7, 0x12, 0x38, 0x5b, 0x62, 0xee, 0x12, 0xe8, 0x6f, 1760 0x7b, 0x5b, 0x1e, 0xd1, 0x47, 0x64, 0x77, 0x62, 0xf4, 0x5c, 0x64, 0x99, 0xe9, 0xef, 0x0c, 0x92, 1761 0xc3, 0x2e, 0xdf, 0x60, 0x77, 0xc6, 0xae, 0x66, 0xa2, 0x9c, 0xf5, 0x77, 0x07, 0xc9, 0x61, 0x8f, 1762 0x07, 0x44, 0xbf, 0x22, 0xc4, 0xe7, 0xf4, 0x49, 0xcc, 0xa1, 0xdf, 0xc5, 0x53, 0x35, 0x09, 0xed, 1763 0x93, 0x9d, 0x42, 0xac, 0x73, 0x2d, 0xb2, 0x3e, 0xc1, 0x83, 0x11, 0xb2, 0x13, 0x72, 0xa7, 0xc9, 1764 0x5a, 0x49, 0x87, 0xa4, 0x6b, 0x23, 0xe8, 0x27, 0x83, 0xf6, 0xe1, 0xde, 0xcb, 0x07, 0x81, 0x94, 1765 0xa6, 0x2a, 0xaf, 0xf4, 0xd8, 0x35, 0xa1, 0x7e, 0xf3, 0xd8, 0x57, 0x65, 0x64, 0xb5, 0xf1, 0x7e, 1766 0x8d, 0xbc, 0xbe, 0x84, 0x35, 0x96, 0xa1, 0xcb, 0x23, 0x74, 0x8c, 0xe5, 0xe2, 0x02, 0x72, 0x64, 1767 0xbd, 0xcb, 0x3d, 0xa0, 0x94, 0x6c, 0x61, 0xde, 0x6d, 0x14, 0xe2, 0xda, 0xb1, 0xe8, 0xf8, 0x1a, 1768 0x59, 0x31, 0x2f, 0x90, 0xdf, 0x2e, 0xaf, 0x04, 0xec, 0x15, 0xe9, 0x79, 0xbf, 0xe7, 0xcb, 0x53, 1769 0xc7, 0xc4, 0x43, 0xb2, 0x5d, 0xe0, 0x0a, 0x1d, 0xf6, 0x78, 0x40, 0x2e, 0x12, 0x23, 0x54, 0x56, 1770 0x5a, 0x13, 0x3c, 0x46, 0xc8, 0x7e, 0x4f, 0xa2, 0x89, 0x91, 0x15, 0x76, 0x51, 0x52, 0x46, 0x7a, 1771 0xb2, 0xf4, 0x92, 0x33, 0x9d, 0x5e, 0xa2, 0xa1, 0x5d, 0xde, 0x90, 0x79, 0x9d, 0xe3, 0x85, 0xd5, 1772 0x1f, 0xa5, 0x92, 0x6a, 0x8a, 0x36, 0x51, 0xa7, 0x92, 0xb9, 0xc0, 0x65, 0x79, 0x2a, 0xca, 0x11, 1773 0x40, 0x86, 0x19, 0xed, 0xf2, 0x4a, 0xe0, 0x2d, 0x8c, 0x65, 0x7a, 0x19, 0xbc, 0x6c, 0x45, 0x0b, 1774 0x95, 0x8c, 0xbd, 0x8a, 0x57, 0x3a, 0x90, 0x5a, 0xd2, 0x23, 0xb2, 0xe3, 0xdb, 0x23, 0x56, 0xe6, 1775 0x7e, 0xa3, 0x32, 0x41, 0x8f, 0x47, 0x25, 0xf6, 0x9e, 0xec, 0x37, 0x76, 0xe8, 0x80, 0xb4, 0x45, 1776 0x9a, 0x86, 0xa6, 0x38, 0x08, 0x87, 0xe3, 0x31, 0xb7, 0x75, 0x7b, 0x65, 0xd8, 0x2c, 0x92, 0xf4, 1777 0xb3, 0x42, 0x02, 0x1c, 0xcf, 0xa2, 0x2c, 0x97, 0x59, 0x28, 0x6c, 0x40, 0x8e, 0x67, 0x57, 0x1c, 1778 0xbd, 0xf0, 0xfd, 0xd4, 0xe6, 0x11, 0xd2, 0xe7, 0xe4, 0xc0, 0x47, 0xf5, 0x93, 0xf1, 0x29, 0x06, 1779 0x4e, 0x6e, 0x48, 0xd9, 0x53, 0xb2, 0xf7, 0x1e, 0x94, 0xe3, 0xe8, 0x4c, 0xa8, 0xa9, 0xbb, 0x12, 1780 0xb9, 0x50, 0x53, 0x74, 0xd3, 0xe1, 0xb8, 0x66, 0xcf, 0x9c, 0x8a, 0x75, 0x2a, 0xaf, 0xd7, 0xe7, 1781 0xcb, 0xcf, 0xc5, 0xc2, 0x7e, 0x20, 0xbd, 0x91, 0xb8, 0x86, 0x8d, 0x1e, 0x25, 0x5b, 0xa5, 0xab, 1782 0x85, 0xd7, 0xc2, 0x75, 0xed, 0x6c, 0xab, 0x71, 0xf6, 0x09, 0xe9, 0x72, 0x28, 0xf2, 0x35, 0xd6, 1783 0xea, 0x96, 0x83, 0xec, 0x94, 0x50, 0x0e, 0x57, 0xe1, 0xe2, 0x80, 0x3d, 0xdf, 0xa4, 0xaf, 0xf3, 1784 0xcc, 0x81, 0x78, 0xe1, 0x03, 0x74, 0x3b, 0x0a, 0x96, 0xb8, 0x13, 0x2e, 0x60, 0x80, 0xec, 0x19, 1785 0xd9, 0xe7, 0x70, 0xf5, 0x09, 0x96, 0xb1, 0x46, 0x9b, 0x0a, 0x24, 0xf5, 0x0a, 0x78, 0xb5, 0xf7, 1786 0x55, 0x29, 0x6f, 0x57, 0x9b, 0x90, 0xfe, 0x26, 0xae, 0xda, 0xb0, 0x3b, 0x93, 0x25, 0x8e, 0x2f, 1787 0x37, 0x4a, 0xc6, 0xab, 0xd8, 0x1c, 0x1e, 0x39, 0x4b, 0x68, 0x12, 0x23, 0xeb, 0x70, 0x0f, 0xdc, 1788 0xfd, 0xcd, 0xa4, 0x01, 0x3c, 0x8e, 0xb5, 0xea, 0xf0, 0x4a, 0xc0, 0x4e, 0xc9, 0xc3, 0x8d, 0x9f, 1789 0x0f, 0xf3, 0x42, 0x1b, 0x7b, 0x1e, 0x5a, 0xfb, 0x3f, 0x36, 0x3d, 0xfb, 0x23, 0xa9, 0x99, 0x1a, 1790 0x81, 0xca, 0xc6, 0xfa, 0x38, 0xcb, 0x0c, 0x94, 0xa5, 0x23, 0xde, 0x85, 0x18, 0x89, 0x77, 0x6b, 1791 0x7a, 0x40, 0x5a, 0x56, 0x07, 0x0b, 0x2d, 0xab, 0x6b, 0x73, 0xb4, 0xdd, 0x98, 0xa3, 0x94, 0x6c, 1792 0x29, 0x6d, 0x21, 0x8c, 0x0c, 0x5c, 0xbb, 0xd0, 0x64, 0x39, 0xd6, 0x97, 0xa0, 0x70, 0x1e, 0xef, 1793 0xf2, 0x08, 0xe9, 0x80, 0xec, 0x59, 0xb7, 0x18, 0xad, 0xe7, 0x17, 0x3a, 0xc7, 0x91, 0xdc, 0xe5, 1794 0x75, 0x11, 0xfb, 0x96, 0xdc, 0xa9, 0x17, 0xfc, 0x04, 0xea, 0x23, 0x3c, 0xa9, 0xbb, 0x66, 0x3f, 1795 0x92, 0x7b, 0x75, 0xd5, 0xb3, 0xc6, 0x6c, 0x4b, 0x6a, 0xb3, 0xed, 0x76, 0x42, 0xbe, 0x21, 0x0f, 1796 0x36, 0xc7, 0x3f, 0x82, 0x99, 0xc2, 0x6b, 0x91, 0x0b, 0x95, 0x42, 0x48, 0x3d, 0x89, 0xa9, 0xb3, 1797 0xbf, 0x13, 0x74, 0x84, 0x19, 0x9c, 0x1b, 0x78, 0x63, 0x40, 0x58, 0xa0, 0x4f, 0x49, 0x2f, 0x75, 1798 0x2b, 0x6d, 0x7e, 0xab, 0x39, 0xdc, 0x0b, 0x32, 0x47, 0x2d, 0x72, 0xe3, 0x5e, 0x8a, 0x56, 0xe0, 1799 0x46, 0xf8, 0xf7, 0xa8, 0xf4, 0xc9, 0xfb, 0xe9, 0x1b, 0x10, 0x0e, 0x2a, 0x65, 0x8d, 0xce, 0x16, 1800 0xfe, 0x26, 0x78, 0x3e, 0x1b, 0x32, 0xfa, 0x98, 0x10, 0xbd, 0x54, 0x10, 0x1c, 0x76, 0xfc, 0x90, 1801 0x46, 0xc9, 0x71, 0x48, 0xd3, 0x6a, 0x2b, 0xf2, 0xf0, 0xd2, 0x79, 0xe0, 0xa4, 0x85, 0x91, 0x29, 1802 0xe0, 0x2b, 0xd7, 0xe6, 0x1e, 0x30, 0x43, 0xee, 0xc7, 0x94, 0x4e, 0xa4, 0x92, 0xe5, 0x2c, 0x64, 1803 0xf5, 0x35, 0xd9, 0x9f, 0x20, 0x86, 0x46, 0x5a, 0xbd, 0x28, 0x3c, 0x0e, 0xef, 0x63, 0xc8, 0xa1, 1804 0xd5, 0xc8, 0xa1, 0x19, 0x5f, 0xfb, 0x46, 0x7c, 0xac, 0xa8, 0x7c, 0x72, 0xb8, 0xd6, 0x97, 0x35, 1805 0x26, 0x0d, 0xe2, 0x26, 0x93, 0x41, 0xf6, 0x7f, 0x3c, 0x02, 0x5e, 0xa6, 0x8f, 0x3a, 0x93, 0x93, 1806 0xf5, 0x1b, 0xad, 0x26, 0x72, 0x4a, 0xef, 0x92, 0x76, 0xd5, 0x32, 0x6e, 0xe9, 0xca, 0xad, 0x8b, 1807 0x78, 0xd3, 0x75, 0xe1, 0x08, 0xbb, 0x16, 0xf9, 0x02, 0x82, 0x39, 0x0f, 0xdc, 0x7f, 0x61, 0xee, 1808 0xec, 0x48, 0x30, 0xa1, 0x36, 0x1b, 0xcc, 0xfe, 0x4a, 0x48, 0x8f, 0xc3, 0xd5, 0x48, 0x4e, 0x15, 1809 0x17, 0xcb, 0xf1, 0xea, 0xd6, 0x4b, 0x58, 0xeb, 0xd7, 0xd6, 0xbf, 0xfa, 0xd5, 0xae, 0x4e, 0x61, 1810 0x15, 0x1d, 0x22, 0x70, 0x29, 0xc3, 0xaa, 0x90, 0x26, 0xb6, 0x56, 0x40, 0xd5, 0x27, 0xa8, 0xe3, 1811 0xa7, 0x88, 0xff, 0x04, 0x61, 0xed, 0x5d, 0xc3, 0xed, 0x04, 0x1b, 0xd8, 0x6e, 0x77, 0x49, 0x7b, 1812 0x02, 0x80, 0xbf, 0x98, 0x36, 0x77, 0x4b, 0x37, 0x6d, 0x14, 0x2c, 0x7d, 0xeb, 0xe3, 0x27, 0xa5, 1813 0xcb, 0x2b, 0x01, 0x7b, 0x4e, 0x0e, 0xfc, 0x38, 0xde, 0x64, 0xb2, 0x89, 0x2d, 0xa9, 0xc5, 0xc6, 1814 0x2e, 0x50, 0x4f, 0x1b, 0xfb, 0xce, 0x98, 0x77, 0xd7, 0xa0, 0xac, 0xfb, 0x1a, 0xb9, 0xb1, 0x31, 1815 0xd7, 0xd9, 0x22, 0x87, 0xa0, 0x5c, 0x93, 0x38, 0xfa, 0xac, 0x0e, 0xbb, 0x3e, 0xfd, 0x0d, 0x76, 1816 0x3e, 0xc0, 0x18, 0x1d, 0xeb, 0xe7, 0x01, 0xfb, 0x82, 0x74, 0x3e, 0x28, 0x3b, 0x7c, 0xe9, 0xc8, 1817 0xcc, 0x84, 0x15, 0xf1, 0x69, 0x72, 0x6b, 0xf6, 0xbd, 0x0b, 0xe0, 0x2a, 0x8c, 0x68, 0x1c, 0xba, 1818 0xee, 0xdd, 0x93, 0x76, 0xa6, 0x17, 0x36, 0xb4, 0x71, 0xf8, 0x50, 0xdc, 0x90, 0xb2, 0x77, 0x78, 1819 0x25, 0xc2, 0x10, 0x2d, 0x4f, 0xa4, 0x8f, 0x6d, 0x22, 0x73, 0xc0, 0x4f, 0x5d, 0x12, 0xbe, 0x82, 1820 0x01, 0x7f, 0xee, 0xe1, 0x7a, 0xfd, 0xe4, 0xd7, 0xc7, 0x53, 0x69, 0x67, 0x8b, 0x8b, 0xa3, 0x54, 1821 0xcf, 0x5f, 0x0c, 0x87, 0xa9, 0x7a, 0x91, 0xce, 0x84, 0x54, 0xc3, 0xe1, 0x0b, 0x7c, 0xec, 0x2f, 1822 0xb6, 0xf1, 0xbf, 0x3c, 0xfc, 0x27, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x15, 0xd2, 0xd3, 0x68, 0x0b, 1823 0x00, 0x00, 1824 }