-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtft_bridge_events.go
118 lines (103 loc) · 3.4 KB
/
tft_bridge_events.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
package substrate
import "github.com/centrifuge/go-substrate-rpc-client/v4/types"
// BridgeBurnTransactionCreated
type BridgeBurnTransactionCreated struct {
Phase types.Phase
BurnTransactionID types.U64 `json:"burn_transaction_id"`
Source types.AccountID `json:"source"`
Target []byte `json:"target"`
Amount types.U64 `json:"amount"`
Topics []types.Hash
}
// BridgeBurnTransactionExpired
type BridgeBurnTransactionExpired struct {
Phase types.Phase
BurnTransactionID types.U64 `json:"burn_transaction_id"`
Source types.OptionAccountID `json:"source"`
Target []byte `json:"target"`
Amount types.U64 `json:"amount"`
Topics []types.Hash
}
// BurnTransactionReady
type BurnTransactionReady struct {
Phase types.Phase
BurnTransactionID types.U64 `json:"burn_transaction_id"`
Topics []types.Hash
}
// BurnTransactionSignatureAdded
type BurnTransactionSignatureAdded struct {
Phase types.Phase
BurnTransactionID types.U64 `json:"burn_transaction_id"`
Signature StellarSignature `json:"signature"`
Topics []types.Hash
}
// BurnTransactionProposed
type BurnTransactionProposed struct {
Phase types.Phase
BurnTransactionID types.U64 `json:"burn_transaction_id"`
Target []byte `json:"target"`
Amount types.U64 `json:"amount"`
Topics []types.Hash
}
// BurnTransactionProcessed
type BurnTransactionProcessed struct {
Phase types.Phase
Burn BurnTransaction `json:"burn"`
Topics []types.Hash
}
// RefundTransactionCreated
type RefundTransactionCreated struct {
Phase types.Phase
RefundTransactionHash []byte `json:"refund_transaction_hash"`
Target []byte `json:"target"`
Amount types.U64 `json:"amount"`
Topics []types.Hash
}
// RefundTransactionSignatureAdded
type RefundTransactionSignatureAdded struct {
Phase types.Phase
RefundTransactionHash []byte `json:"refund_transaction_hash"`
Signature StellarSignature `json:"signature"`
Topics []types.Hash
}
// RefundTransactionReady
type RefundTransactionReady struct {
Phase types.Phase
RefundTransactionHash []byte `json:"refund_transaction_hash"`
Topics []types.Hash
}
// RefundTransactionProcessed
type RefundTransactionProcessed struct {
Phase types.Phase
RefundTransactionHash RefundTransaction `json:"refund_transaction_hash"`
Topics []types.Hash
}
// MintTransactionProposed
type MintTransactionProposed struct {
Phase types.Phase
TxHash string `json:"tx_hash"`
Target AccountID `json:"target"`
Amount types.U64 `json:"amount"`
Topics []types.Hash
}
// MintTransactionVoted
type MintTransactionVoted struct {
Phase types.Phase
TxHash string `json:"tx_hash"`
Topics []types.Hash
}
// MintCompleted
type MintCompleted struct {
Phase types.Phase
MintTransaction MintTransaction `json:"mint_transaction"`
TxHash string `json:"tx_hash"`
Topics []types.Hash
}
// MintTransactionExpired
type MintTransactionExpired struct {
Phase types.Phase
TxHash string `json:"tx_hash"`
Amount types.U64 `json:"amount"`
Target AccountID `json:"target"`
Topics []types.Hash
}