Documentation ¶
Index ¶
- Constants
- type Auction
- type Auctions
- type Collection
- type Collections
- type Market
- type Marketplace
- type NFT
- type Web3Dialer
- func (w *Web3Dialer) Load(ctx context.Context) error
- func (w *Web3Dialer) LoadMarketAuctionContractsFromDB(ctx context.Context) error
- func (w *Web3Dialer) LoadMarketCollectionContractsFromDB(ctx context.Context) error
- func (w *Web3Dialer) LoadMarketContractFromDB(ctx context.Context) error
- func (w *Web3Dialer) LoadMarketFee() error
- func (w *Web3Dialer) LoadMarketName() error
- func (w *Web3Dialer) LoadMarketOwner() error
- func (w *Web3Dialer) LoadMarketplaceInfoFromWeb3() error
Constants ¶
View Source
const GATEWAY = "https://nftstorage.link/ipfs/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { Contract *collection.NFTCollection Name string ABI string Address common.Address }
type Collections ¶
type Collections map[string]Collection
type Market ¶
type Market struct { Collections NFT Auctions Marketplace }
type Marketplace ¶
type Marketplace struct { Fee *big.Int CollectionsCount *big.Int Collections map[string]models.MarketplaceCollection Contract *marketplace.Marketplace Name string ABI string Owner common.Address Address common.Address }
type Web3Dialer ¶
type Web3Dialer struct { Web3Client *ethclient.Client Contracts *repository.ContractsRepository Logger *log.Logger Market }
func NewWeb3Dialer ¶
func NewWeb3Dialer( logger *log.Logger, address string, contracts *repository.ContractsRepository, ) (*Web3Dialer, error)
func (*Web3Dialer) LoadMarketAuctionContractsFromDB ¶
func (w *Web3Dialer) LoadMarketAuctionContractsFromDB(ctx context.Context) error
func (*Web3Dialer) LoadMarketCollectionContractsFromDB ¶
func (w *Web3Dialer) LoadMarketCollectionContractsFromDB(ctx context.Context) error
func (*Web3Dialer) LoadMarketContractFromDB ¶
func (w *Web3Dialer) LoadMarketContractFromDB(ctx context.Context) error
func (*Web3Dialer) LoadMarketFee ¶
func (w *Web3Dialer) LoadMarketFee() error
func (*Web3Dialer) LoadMarketName ¶
func (w *Web3Dialer) LoadMarketName() error
func (*Web3Dialer) LoadMarketOwner ¶
func (w *Web3Dialer) LoadMarketOwner() error
func (*Web3Dialer) LoadMarketplaceInfoFromWeb3 ¶
func (w *Web3Dialer) LoadMarketplaceInfoFromWeb3() error
Click to show internal directories.
Click to hide internal directories.