Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions generated_dff/100/bitcoinBroadcaster/thresholdSignatureInvalid.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { z } from 'zod';

export const bitcoinBroadcasterThresholdSignatureInvalid = z.object({
broadcastId: z.number(),
retryBroadcastId: z.number(),
});

export type BitcoinBroadcasterThresholdSignatureInvalidArgs = z.output<
typeof bitcoinBroadcasterThresholdSignatureInvalid
>;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { z } from 'zod';
import { cfChainsBtcScriptPubkey, numberOrHex } from '../common';

export const bitcoinBroadcasterTransactionFeeDeficitRecorded = z.object({
beneficiary: cfChainsBtcScriptPubkey,
amount: numberOrHex,
});

export type BitcoinBroadcasterTransactionFeeDeficitRecordedArgs = z.output<
typeof bitcoinBroadcasterTransactionFeeDeficitRecorded
>;
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { z } from 'zod';
import { cfChainsBtcScriptPubkey } from '../common';

export const bitcoinBroadcasterTransactionFeeDeficitRefused = z.object({
beneficiary: cfChainsBtcScriptPubkey,
});

export type BitcoinBroadcasterTransactionFeeDeficitRefusedArgs = z.output<
typeof bitcoinBroadcasterTransactionFeeDeficitRefused
>;
14 changes: 14 additions & 0 deletions generated_dff/100/bitcoinIngressEgress/depositWitnessRejected.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { z } from 'zod';
import {
palletCfIngressEgressDepositWitnessBitcoin,
spRuntimeDispatchError,
} from '../common';

export const bitcoinIngressEgressDepositWitnessRejected = z.object({
reason: spRuntimeDispatchError,
depositWitness: palletCfIngressEgressDepositWitnessBitcoin,
});

export type BitcoinIngressEgressDepositWitnessRejectedArgs = z.output<
typeof bitcoinIngressEgressDepositWitnessRejected
>;
Loading