Documentation
¶
Index ¶
- type DB
- func (db *DB) GetStakeByLatestStake(ctx context.Context) (*string, error)
- func (db *DB) GetStakes(ctx context.Context, walletID []byte) ([]*dto.Stake, error)
- func (db *DB) GetStakesByWalletID(ctx context.Context, walletID string) ([]*entry.Stake, error)
- func (db *DB) GetStakesByWorldID(ctx context.Context, worldID umid.UMID) ([]*entry.Stake, error)
- func (db *DB) GetStakesWithCount(ctx context.Context) ([]*entry.Stake, error)
- func (db *DB) GetWalletsInfo(ctx context.Context, walletIDs [][]byte) ([]*dto.WalletInfo, error)
- func (db *DB) InsertIntoPendingStakes(ctx context.Context, transactionID []byte, objectID umid.UMID, walletID []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetStakeByLatestStake ¶
func (*DB) GetStakesByWalletID ¶
func (*DB) GetStakesByWorldID ¶
func (*DB) GetStakesWithCount ¶
func (*DB) GetWalletsInfo ¶
Click to show internal directories.
Click to hide internal directories.