File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
pkg/solana/currencycreator Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ import (
77 "github.com/code-payments/code-server/pkg/usdc"
88)
99
10- type EstimateCurrentPriceArgs struct {
11- CurrentSupplyInQuarks uint64
12- }
13-
1410func EstimateCurrentPrice (currentSupplyInQuarks uint64 ) * big.Float {
1511 scale := big .NewFloat (math .Pow10 (int (DefaultMintDecimals ))).SetPrec (defaultCurvePrec )
1612 unscaledCurrentSupply := big .NewFloat (float64 (currentSupplyInQuarks )).SetPrec (defaultCurvePrec )
Original file line number Diff line number Diff line change 1818
1919var (
2020 METADATA_PROGRAM_ID = ed25519 .PublicKey (mustBase58Decode ("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" ))
21- SYSTEM_PROGRAM_ID = ed25519 .PublicKey (mustBase58Decode ("11111111111111111111111111111111" ))
2221 SPL_TOKEN_PROGRAM_ID = ed25519 .PublicKey (mustBase58Decode ("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" ))
22+ SYSTEM_PROGRAM_ID = ed25519 .PublicKey (mustBase58Decode ("11111111111111111111111111111111" ))
2323
2424 SYSVAR_RENT_PUBKEY = ed25519 .PublicKey (mustBase58Decode ("SysvarRent111111111111111111111111111111111" ))
2525)
You can’t perform that action at this time.
0 commit comments