-
Notifications
You must be signed in to change notification settings - Fork 65
/
PartialTezosOperation.ts
60 lines (57 loc) · 1.83 KB
/
PartialTezosOperation.ts
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
import { Optional } from '../../utils/utils'
import { TezosActivateAccountOperation } from './operations/ActivateAccount'
import { TezosBallotOperation } from './operations/Ballot'
import { TezosDelegationOperation } from './operations/Delegation'
import { TezosDoubleBakingEvidenceOperation } from './operations/DoubleBakingEvidence'
import { TezosEndorsementOperation } from './operations/Endorsement'
import { TezosOriginationOperation } from './operations/Origination'
import { TezosProposalOperation } from './operations/Proposal'
import { TezosRevealOperation } from './operations/Reveal'
import { TezosSeedNonceRevelationOperation } from './operations/SeedNonceRevelation'
import { TezosTransactionOperation } from './operations/Transaction'
/**
* @publicapi
* @category Tezos
*/
export type omittedProperties = 'source' | 'fee' | 'counter' | 'gas_limit' | 'storage_limit'
/**
* @internalapi
* @category Tezos
*/
export type PartialTezosDelegationOperation = Optional<TezosDelegationOperation, omittedProperties>
/**
* @internalapi
* @category Tezos
*/
export type PartialTezosOriginationOperation = Optional<
TezosOriginationOperation,
omittedProperties
>
/**
* @internalapi
* @category Tezos
*/
export type PartialTezosRevealOperation = Optional<TezosRevealOperation, omittedProperties>
/**
* @internalapi
* @category Tezos
*/
export type PartialTezosTransactionOperation = Optional<
TezosTransactionOperation,
omittedProperties
>
/**
* @publicapi
* @category Tezos
*/
export type PartialTezosOperation =
| TezosActivateAccountOperation
| TezosBallotOperation
| PartialTezosDelegationOperation
| TezosDoubleBakingEvidenceOperation
| TezosEndorsementOperation
| PartialTezosOriginationOperation
| TezosProposalOperation
| PartialTezosRevealOperation
| TezosSeedNonceRevelationOperation
| PartialTezosTransactionOperation