diff --git a/metadata/metadata.gen.go b/metadata/metadata.gen.go index 721428b2..8a8ca3ce 100644 --- a/metadata/metadata.gen.go +++ b/metadata/metadata.gen.go @@ -1,4 +1,4 @@ -// sequence-metadata v0.4.0 7cd2d21d284379078f35906687a348ebecb44a36 +// sequence-metadata v0.4.0 2cf2a885782debddb07f741f7bc02db4bb810e67 // -- // Code generated by webrpc-gen@v0.21.0 with golang generator. DO NOT EDIT. // @@ -36,7 +36,7 @@ func WebRPCSchemaVersion() string { // Schema hash generated from your RIDL schema func WebRPCSchemaHash() string { - return "7cd2d21d284379078f35906687a348ebecb44a36" + return "2cf2a885782debddb07f741f7bc02db4bb810e67" } type WebrpcGenVersions struct { @@ -602,17 +602,17 @@ var ( "/rpc/Metadata/GetTokenRefreshStatus": { Name: "GetTokenRefreshStatus", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/GetTokenRefreshResult": { Name: "GetTokenRefreshResult", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/CancelRefreshJob": { Name: "CancelRefreshJob", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/RefreshContractInfo": { Name: "RefreshContractInfo", @@ -687,52 +687,52 @@ var ( "/rpc/Metadata/GetNiftyswapTokenQuantity": { Name: "GetNiftyswapTokenQuantity", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/GetNiftyswapUnitPrices": { Name: "GetNiftyswapUnitPrices", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/GetNiftyswapUnitPricesWithQuantities": { Name: "GetNiftyswapUnitPricesWithQuantities", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/AddContractToMintMonitor": { Name: "AddContractToMintMonitor", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/RemoveContractFromMintMonitor": { Name: "RemoveContractFromMintMonitor", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/MintMonitorJobStatus": { Name: "MintMonitorJobStatus", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/MintMonitorTriggerJob": { Name: "MintMonitorTriggerJob", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/SyncContractTokens": { Name: "SyncContractTokens", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/AbortContractSync": { Name: "AbortContractSync", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/ContractSyncJobStatus": { Name: "ContractSyncJobStatus", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Metadata/DirectoryGetNetworks": { Name: "DirectoryGetNetworks", @@ -747,7 +747,7 @@ var ( "/rpc/Metadata/DirectorySearchCollections": { Name: "DirectorySearchCollections", Service: "Metadata", - Annotations: map[string]string{}, + Annotations: map[string]string{"internal": ""}, }, "/rpc/Collections/CreateCollection": { Name: "CreateCollection", @@ -997,10 +997,10 @@ type Metadata interface { SearchTokens(ctx context.Context, q string, chainID *string, page *Page) ([]*TokenMetadata, *Page, error) SearchContracts(ctx context.Context, q string, chainID *string, chainIDs []string, types []ContractType, page *Page) ([]*ContractInfo, *Page, error) // Niftyswap querying data - // map of tokenID :: quantity GetNiftyswapTokenQuantity(ctx context.Context, chainID string, contractAddress string, tokenIDs []string) (map[string]string, error) - // map of tokenID :: price + // map of tokenID :: quantity GetNiftyswapUnitPrices(ctx context.Context, chainID string, contractAddress string, req *GetNiftyswapUnitPricesRequest, fresh bool) (map[string]string, error) + // map of tokenID :: price GetNiftyswapUnitPricesWithQuantities(ctx context.Context, chainID string, contractAddress string, req *GetNiftyswapUnitPricesRequest, fresh bool) (map[string]*GetNiftyswapUnitPricesResponse, error) AddContractToMintMonitor(ctx context.Context, chainID string, contractAddress string) (bool, error) RemoveContractFromMintMonitor(ctx context.Context, chainID string, contractAddress string) (bool, error) @@ -1092,10 +1092,10 @@ type MetadataClient interface { SearchTokens(ctx context.Context, q string, chainID *string, page *Page) ([]*TokenMetadata, *Page, error) SearchContracts(ctx context.Context, q string, chainID *string, chainIDs []string, types []ContractType, page *Page) ([]*ContractInfo, *Page, error) // Niftyswap querying data - // map of tokenID :: quantity GetNiftyswapTokenQuantity(ctx context.Context, chainID string, contractAddress string, tokenIDs []string) (map[string]string, error) - // map of tokenID :: price + // map of tokenID :: quantity GetNiftyswapUnitPrices(ctx context.Context, chainID string, contractAddress string, req *GetNiftyswapUnitPricesRequest, fresh bool) (map[string]string, error) + // map of tokenID :: price GetNiftyswapUnitPricesWithQuantities(ctx context.Context, chainID string, contractAddress string, req *GetNiftyswapUnitPricesRequest, fresh bool) (map[string]*GetNiftyswapUnitPricesResponse, error) AddContractToMintMonitor(ctx context.Context, chainID string, contractAddress string) (bool, error) RemoveContractFromMintMonitor(ctx context.Context, chainID string, contractAddress string) (bool, error)