@@ -87,7 +87,7 @@ func (s *currencyServer) GetMints(ctx context.Context, req *currencypb.GetMintsR
87
87
Decimals : uint32 (common .CoreMintDecimals ),
88
88
Name : common .CoreMintName ,
89
89
Symbol : strings .ToUpper (string (common .CoreMintSymbol )),
90
- VmMetadata : & currencypb.VmMintMetadata {
90
+ VmMetadata : & currencypb.VmMetadata {
91
91
Vm : common .CodeVmAccount .ToProto (),
92
92
Authority : common .GetSubsidizer ().ToProto (),
93
93
LockDurationInDays : 21 ,
@@ -133,7 +133,7 @@ func (s *currencyServer) GetMints(ctx context.Context, req *currencypb.GetMintsR
133
133
log .WithError (err ).Warn ("invalid mint vault account" )
134
134
return nil , status .Error (codes .Internal , "" )
135
135
}
136
- coreMintVaulttAccount , err := common .NewAccountFromPublicKeyString (metadataRecord .VaultCore )
136
+ coreMintVaultAccount , err := common .NewAccountFromPublicKeyString (metadataRecord .VaultCore )
137
137
if err != nil {
138
138
log .WithError (err ).Warn ("invalid core mint vault account" )
139
139
return nil , status .Error (codes .Internal , "" )
@@ -153,18 +153,18 @@ func (s *currencyServer) GetMints(ctx context.Context, req *currencypb.GetMintsR
153
153
Decimals : uint32 (metadataRecord .Decimals ),
154
154
Name : metadataRecord .Name ,
155
155
Symbol : metadataRecord .Symbol ,
156
- VmMetadata : & currencypb.VmMintMetadata {
156
+ VmMetadata : & currencypb.VmMetadata {
157
157
Vm : vmAccount .ToProto (),
158
158
Authority : vmAuthorityAccount .ToProto (),
159
159
LockDurationInDays : uint32 (timelock_token .DefaultNumDaysLocked ),
160
160
},
161
- CurrencyCreatorMetadata : & currencypb.CurrencyCreatorMintMetadata {
161
+ LaunchpadMetadata : & currencypb.LaunchpadMetadata {
162
162
CurrencyConfig : currencyConfigAccount .ToProto (),
163
163
LiquidityPool : liquidityPoolAccount .ToProto (),
164
164
Seed : seed .ToProto (),
165
165
Authority : currencyAuthorityAccount .ToProto (),
166
166
MintVault : mintVaultAccount .ToProto (),
167
- CoreMintVault : coreMintVaulttAccount .ToProto (),
167
+ CoreMintVault : coreMintVaultAccount .ToProto (),
168
168
CoreMintFees : coreMintFeesAccount .ToProto (),
169
169
SupplyFromBonding : reserveRecord .SupplyFromBonding ,
170
170
CoreMintLocked : reserveRecord .CoreMintLocked ,
0 commit comments