Documentation ¶
Index ¶
- type Provider
- func (p *Provider) GetContractByAddress(ctx context.Context, address persist.Address) (common.ChainAgnosticContract, error)
- func (p *Provider) GetContractsByCreatorAddress(ctx context.Context, address persist.Address) ([]common.ChainAgnosticContract, error)
- func (p *Provider) GetContractsByDeployerAddress(ctx context.Context, address persist.Address) ([]common.ChainAgnosticContract, []bool, error)
- func (p *Provider) GetContractsByOwnerAddress(ctx context.Context, address persist.Address) ([]common.ChainAgnosticContract, error)
- func (p *Provider) GetTokenByTokenIdentifiersAndOwner(ctx context.Context, tIDs common.ChainAgnosticIdentifiers, ...) (common.ChainAgnosticToken, common.ChainAgnosticContract, error)
- func (p *Provider) GetTokenDescriptorsByTokenIdentifiers(ctx context.Context, tID common.ChainAgnosticIdentifiers) (common.ChainAgnosticTokenDescriptors, common.ChainAgnosticContractDescriptors, ...)
- func (p *Provider) GetTokenMetadataByTokenIdentifiers(ctx context.Context, tID common.ChainAgnosticIdentifiers) (persist.TokenMetadata, error)
- func (p *Provider) GetTokenMetadataByTokenIdentifiersBatch(ctx context.Context, tIDs []common.ChainAgnosticIdentifiers) ([]persist.TokenMetadata, error)
- func (p *Provider) GetTokensByContractWallet(ctx context.Context, contract persist.ChainAddress, wallet persist.Address) ([]common.ChainAgnosticToken, common.ChainAgnosticContract, error)
- func (p *Provider) GetTokensByTokenIdentifiers(ctx context.Context, tID common.ChainAgnosticIdentifiers) ([]common.ChainAgnosticToken, common.ChainAgnosticContract, error)
- func (p *Provider) GetTokensIncrementallyByContractAddress(ctx context.Context, address persist.Address, maxLimit int) (<-chan common.ChainAgnosticTokensAndContracts, <-chan error)
- func (p *Provider) GetTokensIncrementallyByWalletAddress(ctx context.Context, address persist.Address) (<-chan common.ChainAgnosticTokensAndContracts, <-chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) GetContractByAddress ¶
func (*Provider) GetContractsByCreatorAddress ¶
func (*Provider) GetContractsByDeployerAddress ¶
func (*Provider) GetContractsByOwnerAddress ¶
func (*Provider) GetTokenByTokenIdentifiersAndOwner ¶
func (p *Provider) GetTokenByTokenIdentifiersAndOwner(ctx context.Context, tIDs common.ChainAgnosticIdentifiers, owner persist.Address) (common.ChainAgnosticToken, common.ChainAgnosticContract, error)
func (*Provider) GetTokenDescriptorsByTokenIdentifiers ¶
func (p *Provider) GetTokenDescriptorsByTokenIdentifiers(ctx context.Context, tID common.ChainAgnosticIdentifiers) (common.ChainAgnosticTokenDescriptors, common.ChainAgnosticContractDescriptors, error)
func (*Provider) GetTokenMetadataByTokenIdentifiers ¶
func (p *Provider) GetTokenMetadataByTokenIdentifiers(ctx context.Context, tID common.ChainAgnosticIdentifiers) (persist.TokenMetadata, error)
func (*Provider) GetTokenMetadataByTokenIdentifiersBatch ¶
func (p *Provider) GetTokenMetadataByTokenIdentifiersBatch(ctx context.Context, tIDs []common.ChainAgnosticIdentifiers) ([]persist.TokenMetadata, error)
func (*Provider) GetTokensByContractWallet ¶
func (p *Provider) GetTokensByContractWallet(ctx context.Context, contract persist.ChainAddress, wallet persist.Address) ([]common.ChainAgnosticToken, common.ChainAgnosticContract, error)
func (*Provider) GetTokensByTokenIdentifiers ¶
func (p *Provider) GetTokensByTokenIdentifiers(ctx context.Context, tID common.ChainAgnosticIdentifiers) ([]common.ChainAgnosticToken, common.ChainAgnosticContract, error)
func (*Provider) GetTokensIncrementallyByContractAddress ¶
func (*Provider) GetTokensIncrementallyByWalletAddress ¶
Click to show internal directories.
Click to hide internal directories.