Skip to content

Commit

Permalink
feat(core): add 'activating' stakepool status, change certificate enu…
Browse files Browse the repository at this point in the history
…m values to match type names
  • Loading branch information
mkazlauskas committed Jan 21, 2022
1 parent f4e4ce7 commit 59129b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/core/src/Cardano/types/Certificate.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Epoch, Hash32ByteBase16, Lovelace, PoolId, PoolParameters, RewardAccount } from '.';

export enum CertificateType {
StakeKeyRegistration = 'StakeKeyRegistration',
StakeKeyDeregistration = 'StakeKeyDeregistration',
PoolRegistration = 'PoolRegistration',
PoolRetirement = 'PoolRetirement',
StakeDelegation = 'StakeDelegation',
MIR = 'MoveInstantaneousRewards',
GenesisKeyDelegation = 'GenesisKeyDelegation'
StakeKeyRegistration = 'StakeKeyRegistrationCertificate',
StakeKeyDeregistration = 'StakeKeyDeregistrationCertificate',
PoolRegistration = 'PoolRegistrationCertificate',
PoolRetirement = 'PoolRetirementCertificate',
StakeDelegation = 'StakeDelegationCertificate',
MIR = 'MirCertificate',
GenesisKeyDelegation = 'GenesisKeyDelegationCertificate'
}

export interface StakeAddressCertificate {
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/Cardano/types/StakePool/StakePool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export interface StakePoolTransactions {
}

export enum StakePoolStatus {
Activating = 'activating',
Active = 'active',
Retired = 'retired',
Retiring = 'retiring'
Expand Down

0 comments on commit 59129b5

Please sign in to comment.