-
Notifications
You must be signed in to change notification settings - Fork 0
/
tx.go
executable file
·34 lines (29 loc) · 939 Bytes
/
tx.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package rpc
// RetrieveBackupTx construction
type RetrieveBackupTx struct {
BackupAddr string `json:"backupAddr"`
DefaultAddr string `json:"defaultAddr"`
DelayPeriod int64 `json:"delayPeriod"`
Fee int64 `json:"fee"`
}
// RetrievePrepareTx construction
type RetrievePrepareTx struct {
BackupAddr string `json:"backupAddr"`
DefaultAddr string `json:"defaultAddr"`
Fee int64 `json:"fee"`
}
// RetrievePerformTx construction
type RetrievePerformTx struct {
BackupAddr string `json:"backupAddr"`
DefaultAddr string `json:"defaultAddr"`
Fee int64 `json:"fee"`
}
// RetrieveCancelTx construction
type RetrieveCancelTx struct {
BackupAddr string `json:"backupAddr"`
DefaultAddr string `json:"defaultAddr"`
Fee int64 `json:"fee"`
}