diff --git a/cmd/slnc/cmd/get_balance.go b/cmd/slnc/cmd/get_balance.go index 9d27bb1..9edeecd 100644 --- a/cmd/slnc/cmd/get_balance.go +++ b/cmd/slnc/cmd/get_balance.go @@ -15,7 +15,6 @@ package cmd import ( - "context" "fmt" "github.com/spf13/cobra" @@ -27,9 +26,8 @@ var getBalanceCmd = &cobra.Command{ Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { client := getClient() - ctx := context.Background() - resp, err := client.GetBalance(ctx, args[0], "") + resp, err := client.GetBalance(cmd.Context(), args[0], "") if err != nil { return err } diff --git a/cmd/slnc/cmd/get_program_accounts.go b/cmd/slnc/cmd/get_program_accounts.go index a8caa2a..a7c4802 100644 --- a/cmd/slnc/cmd/get_program_accounts.go +++ b/cmd/slnc/cmd/get_program_accounts.go @@ -15,7 +15,6 @@ package cmd import ( - "context" "encoding/json" "fmt" "os" @@ -33,9 +32,8 @@ var getProgramAccountsCmd = &cobra.Command{ Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { client := getClient() - ctx := context.Background() - resp, err := client.GetProgramAccounts(ctx, solana.MustPublicKeyFromBase58(args[0]), nil) + resp, err := client.GetProgramAccounts(cmd.Context(), solana.MustPublicKeyFromBase58(args[0]), nil) if err != nil { return err } diff --git a/cmd/slnc/cmd/token_registry_register.go b/cmd/slnc/cmd/token_registry_register.go index d1cae3a..ae7bc78 100644 --- a/cmd/slnc/cmd/token_registry_register.go +++ b/cmd/slnc/cmd/token_registry_register.go @@ -67,6 +67,8 @@ var tokenRegistryRegisterCmd = &cobra.Command{ return fmt.Errorf("unable to continue without a specified registrar") } + // TODO: we shoul check on chain if the symbol exists + registrarPubKey, err := solana.PublicKeyFromBase58(pkeyStr) if err != nil { return fmt.Errorf("invalid registrar key %q: %w", pkeyStr, err) diff --git a/programs/serum/rice-box.go b/programs/serum/rice-box.go index f4d49e4..9a02a08 100644 --- a/programs/serum/rice-box.go +++ b/programs/serum/rice-box.go @@ -1,3 +1,4 @@ +// Code generated by rice embed-go; DO NOT EDIT. package serum import ( @@ -11,7 +12,7 @@ func init() { // define files file2 := &embedded.EmbeddedFile{ Filename: "markets.json", - FileModTime: time.Unix(1604693975, 0), + FileModTime: time.Unix(1606332268, 0), Content: string("[\n {\n \"address\": \"EmCzMQfXMgNHcnRoFwAdPe1i2SuiSzMj1mx6wu3KN2uA\",\n \"name\": \"ALEPH/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"B37pZmwrwXHjpgvd9hHDAx1yeDsNevTnbbrN9W12BoGK\",\n \"name\": \"ALEPH/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"8AcVjMG2LTbpkjNoyq8RwysokqZunkjy3d5JDzxC6BJa\",\n \"name\": \"BTC/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"CAgAeMD7quTdnr6RPa7JySQpjf3irAmefYNdTb6anemq\",\n \"name\": \"BTC/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"HfCZdJ1wfsWKfYP2qyWdXTT5PWAGWFctzFjLH48U1Hsd\",\n \"name\": \"ETH/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"ASKiV944nKg1W9vsf7hf3fTsjawK6DwLwrnB2LH9n61c\",\n \"name\": \"ETH/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"8mDuvJJSgoodovMRYArtVVYBbixWYdGzR47GPrRT65YJ\",\n \"name\": \"SOL/USDT\",\n \"deprecated\": true,\n \"programId\": \"BJ3jrUzddfuSrZHXSCxMUUQsjKEyLmuuyZebkcaFp2fg\"\n },\n {\n \"address\": \"Cdp72gDcYMCLLk3aDkPxjeiirKoFqK38ECm8Ywvk94Wi\",\n \"name\": \"SOL/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"BJ3jrUzddfuSrZHXSCxMUUQsjKEyLmuuyZebkcaFp2fg\"\n },\n {\n \"address\": \"HARFLhSq8nECZk4DVFKvzqXMNMA9a3hjvridGMFizeLa\",\n \"name\": \"SRM/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"68J6nkWToik6oM9rTatKSR5ibVSykAtzftBUEAvpRsys\",\n \"name\": \"SRM/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"DzFjazak6EKHnaB2w6qSsArnj28CV1TKd2Smcj9fqtHW\",\n \"name\": \"SUSHI/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"9wDmxsfwaDb2ysmZpBLzxKzoWrF1zHzBN7PV5EmJe19R\",\n \"name\": \"SUSHI/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"GuvWMATdEV6DExWnXncPYEzn4ePWYkvGdC8pu8gsn7m7\",\n \"name\": \"SXP/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"GbQSffne1NcJbS4jsewZEpRGYVR4RNnuVUN8Ht6vAGb6\",\n \"name\": \"SXP/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"H4snTKK9adiU15gP22ErfZYtro3aqR9BTMXiH3AwiUTQ\",\n \"name\": \"MSRM/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"7kgkDyW7dmyMeP8KFXzbcUZz1R2WHsovDZ7n3ihZuNDS\",\n \"name\": \"MSRM/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"DHDdghmkBhEpReno3tbzBPtsxCt6P3KrMzZvxavTktJt\",\n \"name\": \"FTT/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"FZqrBXz7ADGsmDf1TM9YgysPUfvtG8rJiNUrqDpHc9Au\",\n \"name\": \"FTT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"5zu5bTZZvqESAAgFsr12CUMxdQvMrvU9CgvC1GW8vJdf\",\n \"name\": \"YFI/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"FJg9FUtbN3fg3YFbMCFiZKjGh5Bn4gtzxZmtxFzmz9kT\",\n \"name\": \"YFI/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"F5xschQBMpu1gD2q1babYEAVJHR1buj1YazLiXyQNqSW\",\n \"name\": \"LINK/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"7GZ59DMgJ7D6dfoJTpszPayTRyua9jwcaGJXaRMMF1my\",\n \"name\": \"LINK/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"BAbc9baz4hV1hnYjWSJ6cZDRjfvziWbYGQu9UFkcdUmx\",\n \"name\": \"HGET/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"uPNcBgFhrLW3FtvyYYbBUi53BBEQf9e4NPgwxaLu5Hn\",\n \"name\": \"HGET/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"3puWJFZyCso14EdxhywjD7xqyTarpsULx483mzvqxQRW\",\n \"name\": \"CREAM/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"EBxJWA2nLV57ZntbjizxH527ZjPNLT5cpUHMnY5k3oq\",\n \"name\": \"CREAM/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"8Ae7Uhigx8k4fKdJG7irdPCVDZLvWsJfeTH2t5fr3TVD\",\n \"name\": \"UBXT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"46VdEkj4MJwZinwVb3Y7DUDpVXLNb9YW7P2waKU3vCqr\",\n \"name\": \"UBXT/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"Hze5AUX4Qp1cTujiJ4CsAMRGn4g6ZpgXsmptFn3xxhWg\",\n \"name\": \"HNT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"Hc22rHKrhbrZBaQMmhJvPTkp1yDr31PDusU8wKoqFSZV\",\n \"name\": \"HNT/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"FJq4HX3bUSgF3yQZ8ADALtJYfAyr9fz36SNG18hc3dgF\",\n \"name\": \"FRONT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"HFoca5HKwiTPpw9iUY5iXWqzkXdu88dS7YrpSvt2uhyF\",\n \"name\": \"FRONT/USDT\",\n \"deprecated\": true,\n \"programId\": \"4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn\"\n },\n {\n \"address\": \"5xnYnWca2bFwC6cPufpdsCbDJhMjYCC59YgwoZHEfiee\",\n \"name\": \"ALEPH/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"BZMuoQ2i2noNUXMdrRDivc7MwjGspNJTCfZkdHMwK18T\",\n \"name\": \"ALEPH/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"EXnGBBSamqzd3uxEdRLUiYzjJkTwQyorAaFXdfteuGXe\",\n \"name\": \"BTC/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"5LgJphS6D5zXwUVPU7eCryDBkyta3AidrJ5vjNU6BcGW\",\n \"name\": \"BTC/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"5abZGhrELnUnfM9ZUnvK6XJPoBU5eShZwfFPkdhAC7o\",\n \"name\": \"ETH/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"DmEDKZPXXkWgaYiKgWws2ZXWWKCh41eryDPRVD4zKnD9\",\n \"name\": \"ETH/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7xLk17EQQ5KLDLDe44wCmupJKJjTGd8hs3eSVVhCx932\",\n \"name\": \"SOL/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"EBFTQNg2QjyxV7WDDenoLbfLLXLcbSz6w1YrdTCGPWT5\",\n \"name\": \"SOL/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"H3APNWA8bZW2gLMSq5sRL41JSMmEJ648AqoEdDgLcdvB\",\n \"name\": \"SRM/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"8YmQZRXGizZXYPCDmxgjwB8X8XN4PZG7MMwNg76iAmPZ\",\n \"name\": \"SRM/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"4uZTPc72sCDcVRfKKii67dTPm2Xe4ri3TYnGcUQrtnU9\",\n \"name\": \"SUSHI/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"9vFuX2BizwinWjkZLQTmThDcNMFEcY3wVXYuqnRQtcD\",\n \"name\": \"SUSHI/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"33GHmwG9woY95JuWNi74Aa8uKvysSXxif9P1EwwkrCRz\",\n \"name\": \"SXP/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"C5NReXAeQhfjiDCGPFj1UUmDxDqF8v2CUVKoYuQqb4eW\",\n \"name\": \"SXP/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"FUaF58sDrgbqakHTR8RUwRLauSofRTjqyCsqThFPh6YM\",\n \"name\": \"MSRM/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"58H7ZRmiyWtsrz2sQGz1qQCMW6n7447xhNNehUSQGPj5\",\n \"name\": \"MSRM/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"5NqjQVXLuLSDnsnQMfWp3rF9gbWDusWG4B1Xwtk3rZ5S\",\n \"name\": \"FTT/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"ES8skmkEeyH1BYFThd2FtyaFKhkqtwH7XWp8mXptv3vg\",\n \"name\": \"FTT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"97NiXHUNkpYd1eb2HthSDGhaPfepuqMAV3QsZhAgb1wm\",\n \"name\": \"YFI/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"Gw78CYLLFbgmmn4rps9KoPAnNtBQ2S1foL2Mn6Z5ZHYB\",\n \"name\": \"YFI/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"hBswhpNyz4m5nt4KwtCA7jYXvh7VmyZ4TuuPmpaKQb1\",\n \"name\": \"LINK/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"WjfsTPyrvUUrhGJ9hVQFubMnKDcnQS8VxSXU7L2gLcA\",\n \"name\": \"LINK/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"GaeUpY7CT8rjoeVGjY1t3mJJDd1bdXxYWtrGSpsVFors\",\n \"name\": \"HGET/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"2ZmB255T4FVUugpeXTFxD6Yz5GE47yTByYvqSTDUbk3G\",\n \"name\": \"HGET/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"FGJtCDXoHLHjagP5Ht6xcUFt2rW3z8MJPe87rFKP2ZW6\",\n \"name\": \"CREAM/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7qq9BABQvTWKZuJ5fX2PeTKX6XVtduEs9zW9WS21fSzN\",\n \"name\": \"CREAM/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7K6MPog6LskZmyaYwqtLvRUuedoiE68nirbQ9tK3LasE\",\n \"name\": \"UBXT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"DCHvVahuLTNWBGUtEzF5GrTdx5FRpxqEJiS6Ru1hrDfD\",\n \"name\": \"UBXT/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"9RyozJe3bkAFfH3jmoiKHjkWCoLTxn7aBQSi6YfaV6ab\",\n \"name\": \"HNT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"DWjJ8VHdGYBxDQYdrRBVDWkHswrgjuBFEv5pBhiRoPBz\",\n \"name\": \"HNT/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"AGtBbGuJZiv3Ko3dfT4v6g4kCqnNc9DXfoGLe5HpjmWx\",\n \"name\": \"FRONT/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"56eqxJYzPigm4FkigiBdsfebjMgAbKNh24E7oiKLBtye\",\n \"name\": \"FRONT/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"AA1HSrsMcRNzjaQfRMTNarHR9B7e4U79LJ2319UtiqPF\",\n \"name\": \"AKRO/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"FQbCNSVH3RgosCPB4CJRstkLh5hXkvuXzAjQzT11oMYo\",\n \"name\": \"AKRO/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"Fs5xtGUmJTYo8Ao75M3R3m3mVX53KMUhzfXCmyRLnp2P\",\n \"name\": \"HXRO/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"AUAobJdffexcoJBMeyLorpShu3ZtG9VvPEPjoeTN4u5Z\",\n \"name\": \"HXRO/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"ChKV7mxecPqFPGYJjhzowPHDiLKFWXXVujUiE3EWxFcg\",\n \"name\": \"UNI/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"GpdYLFbKHeSeDGqsnQ4jnP7D1294iBpQcsN1VPwhoaFS\",\n \"name\": \"UNI/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"6N3oU7ALvn2RPwdpYVzPBgQJ8njT29inBbS2tSrwx8fh\",\n \"name\": \"KEEP/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"sxS9EdTx1UPe4j2c6Au9f1GKZXrFj5pTgNKgjGGtGdY\",\n \"name\": \"KEEP/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"5P6dJbyKySFXMYNWiEcNQu8xPRYsehYzCeVpae9Ueqrg\",\n \"name\": \"MATH/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"CfnnU38ACScF6pcurxSB3FLXeZmfFYunVKExeUyosu5P\",\n \"name\": \"MATH/WUSDC\",\n \"deprecated\": true,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7NR5GDouQYkkfppVkNhpa4HfJ2LwqUQymE3b4CYQiYHa\",\n \"name\": \"ALEPH/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"CVfYa8RGXnuDBeGmniCcdkBwoLqVxh92xB1JqgRQx3F\",\n \"name\": \"BTC/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"H5uzEytiByuXt964KampmuNCurNDwkVVypkym75J2DQW\",\n \"name\": \"ETH/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7xMDbYTCqQEcK2aM9LbetGtNFJpzKdfXzLL5juaLh4GJ\",\n \"name\": \"SOL/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"CDdR97S8y96v3To93aKvi3nCnjUrbuVSuumw8FLvbVeg\",\n \"name\": \"SRM/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7LVJtqSrF6RudMaz5rKGTmR3F3V5TKoDcN6bnk68biYZ\",\n \"name\": \"SUSHI/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"13vjJ8pxDMmzen26bQ5UrouX8dkXYPW1p3VLVDjxXrKR\",\n \"name\": \"SXP/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"AwvPwwSprfDZ86beBJDNH5vocFvuw4ZbVQ6upJDbSCXZ\",\n \"name\": \"MSRM/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"FfDb3QZUdMW2R2aqJQgzeieys4ETb3rPrFFfPSemzq7R\",\n \"name\": \"FTT/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"4QL5AQvXdMSCVZmnKXiuMMU83Kq3LCwVfU8CyznqZELG\",\n \"name\": \"YFI/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7JCG9TsCx3AErSV3pvhxiW4AbkKRcJ6ZAveRmJwrgQ16\",\n \"name\": \"LINK/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"3otQFkeQ7GNUKT3i2p3aGTQKS2SAw6NLYPE5qxh3PoqZ\",\n \"name\": \"HGET/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"2M8EBxFbLANnCoHydypL1jupnRHG782RofnvkatuKyLL\",\n \"name\": \"CREAM/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"3UqXdFtNBZsFrFtRGAWGvy9R8H6GJR2hAyGRdYT9BgG3\",\n \"name\": \"UBXT/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"9jiasgdYGGh34fAbBQSwkKe1dYSapXbjy2sLsYpetqFp\",\n \"name\": \"HNT/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7oKqJhnz9b8af8Mw47dieTiuxeaHnRYYGBiqCrRpzTRD\",\n \"name\": \"FRONT/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"F1rxD8Ns5w4WzVcTRdaJ96LG7YKaA5a25BBmM32yFP4b\",\n \"name\": \"AKRO/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"6ToedDwjRCvrcKX7fnHSTA9uABQe1dcLK6YgS5B9M3wo\",\n \"name\": \"HXRO/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"FURvCsDUiuUaxZ13pZqQbbfktFGWmQVTHz7tL992LQVZ\",\n \"name\": \"UNI/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"EcfDRMrEJ3yW4SgrRyyxTPoKqAZDNSBV8EerigT7BNSS\",\n \"name\": \"KEEP/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"2bPsJ6bZ9KDLfJ8QgSN1Eb4mRsbAiaGyHN6cJkoVLpwd\",\n \"name\": \"MATH/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"B1GypajMh7S8zJVp6M1xMfu6zGsMgvYrt3cSn9wG7Dd6\",\n \"name\": \"TOMO/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"H7c8FcQPJ2E5tJmpWBPSi7xCAbk8immdtUxKFRUyE4Ro\",\n \"name\": \"TOMO/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"rPTGvVrNFYzBeTEcYnHiaWGNnkSXsWNNjUgk771LkwJ\",\n \"name\": \"LUA/USDC\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n },\n {\n \"address\": \"7PSeX1AEtBY9KvgegF5rUh452VemMh7oDzFtJgH7sxMG\",\n \"name\": \"LUA/USDT\",\n \"deprecated\": false,\n \"programId\": \"EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o\"\n }\n]\n"), } @@ -19,7 +20,7 @@ func init() { // define dirs dir1 := &embedded.EmbeddedDir{ Filename: "", - DirModTime: time.Unix(1604936420, 0), + DirModTime: time.Unix(1606332268, 0), ChildFiles: []*embedded.EmbeddedFile{ file2, // "markets.json" @@ -32,7 +33,7 @@ func init() { // register embeddedBox embedded.RegisterEmbeddedBox(`data`, &embedded.EmbeddedBox{ Name: `data`, - Time: time.Unix(1604936420, 0), + Time: time.Unix(1606332268, 0), Dirs: map[string]*embedded.EmbeddedDir{ "": dir1, }, diff --git a/programs/token/rice-box.go b/programs/token/rice-box.go index 1f627f3..9370608 100644 --- a/programs/token/rice-box.go +++ b/programs/token/rice-box.go @@ -1,3 +1,4 @@ +// Code generated by rice embed-go; DO NOT EDIT. package token import ( @@ -11,7 +12,7 @@ func init() { // define files file2 := &embedded.EmbeddedFile{ Filename: "mainnet-tokens.json", - FileModTime: time.Unix(1604945295, 0), + FileModTime: time.Unix(1606332268, 0), Content: string("[\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x476c5E26a75bd202a9683ffD34359C0CC15be0fF/logo.png\",\n \"mintAddress\": \"SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt\",\n \"tokenName\": \"Serum\",\n \"tokenSymbol\": \"SRM\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x476c5E26a75bd202a9683ffD34359C0CC15be0fF/logo.png\",\n \"mintAddress\": \"MSRMcoVyrFxnSgo5uXwone5SKcGhT1KEJMFEkMEWf9L\",\n \"tokenName\": \"MegaSerum\",\n \"tokenSymbol\": \"MSRM\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/bitcoin/info/logo.png\",\n \"mintAddress\": \"9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E\",\n \"tokenName\": \"Wrapped Bitcoin\",\n \"tokenSymbol\": \"BTC\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png\",\n \"mintAddress\": \"2FPyTwcZLUg1MDrwsyoP4D6s1tM7hAkHYRjkNb5w6Pxk\",\n \"tokenName\": \"Wrapped Ethereum\",\n \"tokenSymbol\": \"ETH\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/f3ffd0b9ae2165336279ce2f8db1981a55ce30f8/blockchains/ethereum/assets/0x50D1c9771902476076eCFc8B2A83Ad6b9355a4c9/logo.png\",\n \"mintAddress\": \"AGFEad2et2ZJif9jaGpdMixQqvW5i81aBdvKe7PHNfz3\",\n \"tokenName\": \"Wrapped FTT\",\n \"tokenSymbol\": \"FTT\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e/logo.png\",\n \"mintAddress\": \"3JSf5tPeuscJGtaCp5giEiDhv51gQ4v3zWg8DGgyLfAB\",\n \"tokenName\": \"Wrapped YFI\",\n \"tokenSymbol\": \"YFI\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x514910771AF9Ca656af840dff83E8264EcF986CA/logo.png\",\n \"mintAddress\": \"CWE8jPTUYhdCTZYWPTe1o5DFqfdjzWKc9WKz6rSjQUdG\",\n \"tokenName\": \"Wrapped Chainlink\",\n \"tokenSymbol\": \"LINK\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ripple/info/logo.png\",\n \"mintAddress\": \"Ga2AXHpfAF6mv2ekZwcsJFqu7wB4NV331qNH7fW9Nst8\",\n \"tokenName\": \"Wrapped XRP\",\n \"tokenSymbol\": \"XRP\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/f3ffd0b9ae2165336279ce2f8db1981a55ce30f8/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png\",\n \"mintAddress\": \"BQcdHdAQW1hczDbBi9hiegXAR7A98Q9jx3X3iBBBDiq4\",\n \"tokenName\": \"Wrapped USDT\",\n \"tokenSymbol\": \"USDT\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/f3ffd0b9ae2165336279ce2f8db1981a55ce30f8/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png\",\n \"mintAddress\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\n \"tokenName\": \"USD Coin\",\n \"tokenSymbol\": \"USDC\"\n },\n {\n \"deprecated\": true,\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/f3ffd0b9ae2165336279ce2f8db1981a55ce30f8/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png\",\n \"mintAddress\": \"BXXkv6z8ykpG1yuvUDPgh732wzVHB69RnB9YgSYh3itW\",\n \"tokenName\": \"Wrapped USDC\",\n \"tokenSymbol\": \"WUSDC\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B3595068778DD592e39A122f4f5a5cF09C90fE2/logo.png\",\n \"mintAddress\": \"AR1Mtgh7zAtxuxGd2XPovXPVjcSdY3i4rQYisNadjfKy\",\n \"tokenName\": \"Wrapped SUSHI\",\n \"tokenSymbol\": \"SUSHI\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/6996a371cd02f516506a8f092eeb29888501447c/blockchains/nuls/assets/NULSd6HgyZkiqLnBzTaeSQfx1TNg2cqbzq51h/logo.png\",\n \"mintAddress\": \"CsZ5LZkDS7h9TDKjrbL7VAwQZ9nsRu8vJLhRYfmGaN8K\",\n \"tokenName\": \"Wrapped ALEPH\",\n \"tokenSymbol\": \"ALEPH\"\n },\n {\n \"icon\": \"https://github.com/trustwallet/assets/raw/b0ab88654fe64848da80d982945e4db06e197d4f/blockchains/ethereum/assets/0x8CE9137d39326AD0cD6491fb5CC0CbA0e089b6A9/logo.png\",\n \"mintAddress\": \"SF3oTvfWzEP3DTwGSvUXRrGTvr75pdZNnBLAH9bzMuX\",\n \"tokenName\": \"Wrapped SXP\",\n \"tokenSymbol\": \"SXP\"\n },\n {\n \"mintAddress\": \"BtZQfWqDGbk9Wf2rXEiWyQBdBY1etnUUn6zEphvVS7yN\",\n \"tokenName\": \"Wrapped HGET\",\n \"tokenSymbol\": \"HGET\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/4c82c2a409f18a4dd96a504f967a55a8fe47026d/blockchains/smartchain/assets/0xd4CB328A82bDf5f03eB737f37Fa6B370aef3e888/logo.png\",\n \"mintAddress\": \"5Fu5UUgbjpUvdBveb3a1JTNirL8rXtiYeSMWvKjtUNQv\",\n \"tokenName\": \"Wrapped CREAM\",\n \"tokenSymbol\": \"CREAM\"\n },\n {\n \"mintAddress\": \"873KLxCbz7s9Kc4ZzgYRtNmhfkQrhfyWGZJBmyCbC3ei\",\n \"tokenName\": \"Wrapped UBXT\",\n \"tokenSymbol\": \"UBXT\"\n },\n {\n \"mintAddress\": \"HqB7uswoVg4suaQiDP3wjxob1G5WdZ144zhdStwMCq7e\",\n \"tokenName\": \"Wrapped HNT\",\n \"tokenSymbol\": \"HNT\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/6e375e4e5fb0ffe09ed001bae1ef8ca1d6c86034/blockchains/ethereum/assets/0xf8C3527CC04340b208C854E985240c02F7B7793f/logo.png\",\n \"mintAddress\": \"9S4t2NEAiJVMvPdRYKVrfJpBafPBLtvbvyS3DecojQHw\",\n \"tokenName\": \"Wrapped FRONT\",\n \"tokenSymbol\": \"FRONT\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/878dcab0fab90e6593bcb9b7d941be4915f287dc/blockchains/ethereum/assets/0xb2734a4Cec32C81FDE26B0024Ad3ceB8C9b34037/logo.png\",\n \"mintAddress\": \"6WNVCuxCGJzNjmMZoKyhZJwvJ5tYpsLyAtagzYASqBoF\",\n \"tokenName\": \"Wrapped AKRO\",\n \"tokenSymbol\": \"AKRO\"\n },\n {\n \"mintAddress\": \"DJafV9qemGp7mLMEn5wrfqaFwxsbLgUsGVS16zKRk9kc\",\n \"tokenName\": \"Wrapped HXRO\",\n \"tokenSymbol\": \"HXRO\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/08d734b5e6ec95227dc50efef3a9cdfea4c398a1/blockchains/ethereum/assets/0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984/logo.png\",\n \"mintAddress\": \"DEhAasscXF4kEGxFgJ3bq4PpVGp5wyUxMRvn6TzGVHaw\",\n \"tokenName\": \"Wrapped UNI\",\n \"tokenSymbol\": \"UNI\"\n },\n {\n \"mintAddress\": \"GeDS162t9yGJuLEHPWXXGrb1zwkzinCgRwnT8vHYjKza\",\n \"tokenName\": \"Wrapped MATH\",\n \"tokenSymbol\": \"MATH\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/08d734b5e6ec95227dc50efef3a9cdfea4c398a1/blockchains/tomochain/info/logo.png\",\n \"mintAddress\": \"GXMvfY2jpQctDqZ9RoU3oWPhufKiCcFEfchvYumtX7jd\",\n \"tokenName\": \"Wrapped TOMO\",\n \"tokenSymbol\": \"TOMO\"\n },\n {\n \"icon\": \"https://raw.githubusercontent.com/trustwallet/assets/2d2491130e6beda208ba4fc6df028a82a0106ab6/blockchains/ethereum/assets/0xB1f66997A5760428D3a87D68b90BfE0aE64121cC/logo.png\",\n \"mintAddress\": \"EqWCKXfs3x47uVosDpTRgFniThL9Y8iCztJaapxbEaVX\",\n \"tokenName\": \"Wrapped LUA\",\n \"tokenSymbol\": \"LUA\"\n }\n]\n"), } @@ -19,7 +20,7 @@ func init() { // define dirs dir1 := &embedded.EmbeddedDir{ Filename: "", - DirModTime: time.Unix(1604945295, 0), + DirModTime: time.Unix(1606332268, 0), ChildFiles: []*embedded.EmbeddedFile{ file2, // "mainnet-tokens.json" @@ -32,7 +33,7 @@ func init() { // register embeddedBox embedded.RegisterEmbeddedBox(`mints-data`, &embedded.EmbeddedBox{ Name: `mints-data`, - Time: time.Unix(1604945295, 0), + Time: time.Unix(1606332268, 0), Dirs: map[string]*embedded.EmbeddedDir{ "": dir1, }, diff --git a/programs/tokenregistry/program.go b/programs/tokenregistry/program.go index 3e996fb..bc9d58d 100644 --- a/programs/tokenregistry/program.go +++ b/programs/tokenregistry/program.go @@ -6,7 +6,7 @@ import ( "github.com/dfuse-io/solana-go" ) -var mainnetProgramID = solana.MustPublicKeyFromBase58("99999999999999999999999999999999999999999999") +var mainnetProgramID = solana.MustPublicKeyFromBase58("CmPVzy88JSB4S223yCvFmBxTLobLya27KgEDeNPnqEub") var testnetProgramID = solana.MustPublicKeyFromBase58("99999999999999999999999999999999999999999999") var devnetProgramID = solana.MustPublicKeyFromBase58("99999999999999999999999999999999999999999999")