@@ -160,7 +160,7 @@ type StakeRegistrationCertificate struct {
160
160
cbor.StructAsArray
161
161
cbor.DecodeStoreCbor
162
162
CertType uint
163
- StakeRegistration StakeCredential
163
+ StakeRegistration Credential
164
164
}
165
165
166
166
func (c StakeRegistrationCertificate ) isCertificate () {}
@@ -181,7 +181,7 @@ type StakeDeregistrationCertificate struct {
181
181
cbor.StructAsArray
182
182
cbor.DecodeStoreCbor
183
183
CertType uint
184
- StakeDeregistration StakeCredential
184
+ StakeDeregistration Credential
185
185
}
186
186
187
187
func (c StakeDeregistrationCertificate ) isCertificate () {}
@@ -202,7 +202,7 @@ type StakeDelegationCertificate struct {
202
202
cbor.StructAsArray
203
203
cbor.DecodeStoreCbor
204
204
CertType uint
205
- StakeCredential * StakeCredential
205
+ StakeCredential * Credential
206
206
PoolKeyHash PoolKeyHash
207
207
}
208
208
@@ -435,7 +435,7 @@ const (
435
435
436
436
type MoveInstantaneousRewardsCertificateReward struct {
437
437
Source uint
438
- Rewards map [* StakeCredential ]uint64
438
+ Rewards map [* Credential ]uint64
439
439
OtherPot uint64
440
440
}
441
441
@@ -446,7 +446,7 @@ func (r *MoveInstantaneousRewardsCertificateReward) UnmarshalCBOR(
446
446
tmpMapData := struct {
447
447
cbor.StructAsArray
448
448
Source uint
449
- Rewards map [* StakeCredential ]uint64
449
+ Rewards map [* Credential ]uint64
450
450
}{}
451
451
if _ , err := cbor .Decode (data , & tmpMapData ); err == nil {
452
452
r .Rewards = tmpMapData .Rewards
@@ -512,7 +512,7 @@ type RegistrationCertificate struct {
512
512
cbor.StructAsArray
513
513
cbor.DecodeStoreCbor
514
514
CertType uint
515
- StakeCredential StakeCredential
515
+ StakeCredential Credential
516
516
Amount int64
517
517
}
518
518
@@ -533,7 +533,7 @@ type DeregistrationCertificate struct {
533
533
cbor.StructAsArray
534
534
cbor.DecodeStoreCbor
535
535
CertType uint
536
- StakeCredential StakeCredential
536
+ StakeCredential Credential
537
537
Amount int64
538
538
}
539
539
@@ -554,7 +554,7 @@ type VoteDelegationCertificate struct {
554
554
cbor.StructAsArray
555
555
cbor.DecodeStoreCbor
556
556
CertType uint
557
- StakeCredential StakeCredential
557
+ StakeCredential Credential
558
558
Drep Drep
559
559
}
560
560
@@ -575,7 +575,7 @@ type StakeVoteDelegationCertificate struct {
575
575
cbor.StructAsArray
576
576
cbor.DecodeStoreCbor
577
577
CertType uint
578
- StakeCredential StakeCredential
578
+ StakeCredential Credential
579
579
PoolKeyHash []byte
580
580
Drep Drep
581
581
}
@@ -597,7 +597,7 @@ type StakeRegistrationDelegationCertificate struct {
597
597
cbor.StructAsArray
598
598
cbor.DecodeStoreCbor
599
599
CertType uint
600
- StakeCredential StakeCredential
600
+ StakeCredential Credential
601
601
PoolKeyHash []byte
602
602
Amount int64
603
603
}
@@ -619,7 +619,7 @@ type VoteRegistrationDelegationCertificate struct {
619
619
cbor.StructAsArray
620
620
cbor.DecodeStoreCbor
621
621
CertType uint
622
- StakeCredential StakeCredential
622
+ StakeCredential Credential
623
623
Drep Drep
624
624
Amount int64
625
625
}
@@ -641,7 +641,7 @@ type StakeVoteRegistrationDelegationCertificate struct {
641
641
cbor.StructAsArray
642
642
cbor.DecodeStoreCbor
643
643
CertType uint
644
- StakeCredential StakeCredential
644
+ StakeCredential Credential
645
645
PoolKeyHash []byte
646
646
Drep Drep
647
647
Amount int64
@@ -664,8 +664,8 @@ type AuthCommitteeHotCertificate struct {
664
664
cbor.StructAsArray
665
665
cbor.DecodeStoreCbor
666
666
CertType uint
667
- ColdCredential StakeCredential
668
- HostCredential StakeCredential
667
+ ColdCredential Credential
668
+ HostCredential Credential
669
669
}
670
670
671
671
func (c AuthCommitteeHotCertificate ) isCertificate () {}
@@ -685,7 +685,7 @@ type ResignCommitteeColdCertificate struct {
685
685
cbor.StructAsArray
686
686
cbor.DecodeStoreCbor
687
687
CertType uint
688
- ColdCredential StakeCredential
688
+ ColdCredential Credential
689
689
Anchor * GovAnchor
690
690
}
691
691
@@ -706,7 +706,7 @@ type RegistrationDrepCertificate struct {
706
706
cbor.StructAsArray
707
707
cbor.DecodeStoreCbor
708
708
CertType uint
709
- DrepCredential StakeCredential
709
+ DrepCredential Credential
710
710
Amount int64
711
711
Anchor * GovAnchor
712
712
}
@@ -728,7 +728,7 @@ type DeregistrationDrepCertificate struct {
728
728
cbor.StructAsArray
729
729
cbor.DecodeStoreCbor
730
730
CertType uint
731
- DrepCredential StakeCredential
731
+ DrepCredential Credential
732
732
Amount int64
733
733
}
734
734
@@ -749,7 +749,7 @@ type UpdateDrepCertificate struct {
749
749
cbor.StructAsArray
750
750
cbor.DecodeStoreCbor
751
751
CertType uint
752
- DrepCredential StakeCredential
752
+ DrepCredential Credential
753
753
Anchor * GovAnchor
754
754
}
755
755
0 commit comments