1
1
import {
2
2
HydraParty ,
3
3
HydraSnapshot ,
4
- HydraTransaction ,
4
+ hTransaction ,
5
5
} from "../types" ;
6
6
import { hUTxOs } from "./hUTxOs" ;
7
7
import { PostChainTx } from "./hydra-post-chain-tx" ;
@@ -123,7 +123,7 @@ export type HeadIsFinalized = {
123
123
export type TxValid = {
124
124
tag : "TxValid" ;
125
125
headId : string ;
126
- transaction : HydraTransaction ;
126
+ transaction : hTransaction ;
127
127
seq : number ;
128
128
timestamp : string ;
129
129
} ;
@@ -132,7 +132,7 @@ export type TxInvalid = {
132
132
tag : "TxInvalid" ;
133
133
headId : string ;
134
134
utxo : hUTxOs ;
135
- transaction : HydraTransaction ;
135
+ transaction : hTransaction ;
136
136
validationError : { reason : string } ;
137
137
seq : number ;
138
138
timestamp : string ;
@@ -176,9 +176,9 @@ export type CommandFailed = {
176
176
| {
177
177
tag : "Abort" ;
178
178
}
179
- | { tag : "NewTx" ; transaction : HydraTransaction }
179
+ | { tag : "NewTx" ; transaction : hTransaction }
180
180
| { tag : "GetUTxO" }
181
- | { tag : "Decommit" ; decommitTx : HydraTransaction }
181
+ | { tag : "Decommit" ; decommitTx : hTransaction }
182
182
| { tag : "Close" }
183
183
| { tag : "Contest" }
184
184
| { tag : "Fanout" } ;
@@ -199,7 +199,7 @@ export type IgnoredHeadInitializing = {
199
199
export type DecommitInvalid = {
200
200
tag : "DecommitInvalid" ;
201
201
headId : string ;
202
- decommitTx : HydraTransaction ;
202
+ decommitTx : hTransaction ;
203
203
decommitInvalidReason :
204
204
| {
205
205
tag : "DecommitTxInvalid" ;
@@ -212,7 +212,7 @@ export type DecommitInvalid = {
212
212
export type DecommitRequested = {
213
213
tag : "DecommitRequested" ;
214
214
headId : string ;
215
- decommitTx : HydraTransaction ;
215
+ decommitTx : hTransaction ;
216
216
utxoToDecommit : hUTxOs ;
217
217
seq : number ;
218
218
timestmap : string ;
0 commit comments