Documentation
¶
Overview ¶
Package storage
Index ¶
- func GetSubnetAlphaInEmission(c *client.Client, netuid types.U16, block *types.Hash) (*types.U64, error)
- func GetSubnetAlphaOutEmission(c *client.Client, netuid types.U16, block *types.Hash) (*types.U64, error)
- func GetSubnetMovingPrice(c *client.Client, netuid types.U16, block *types.Hash) (*typetools.U96F32, error)
- func GetSubnetTaoInEmission(c *client.Client, netuid types.U16, block *types.Hash) (*types.U64, error)
- func GetValidatorPermits(c *client.Client, netuid types.U16, block *types.Hash) (*[]types.Bool, error)
- type AccountInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSubnetAlphaInEmission ¶ added in v0.0.9
func GetSubnetAlphaInEmission(c *client.Client, netuid types.U16, block *types.Hash) (*types.U64, error)
GetSubnetAlphaInEmission Returns sn tao emission percentage * 1e9 block is optional, but more performant if already subscribed to chain
func GetSubnetAlphaOutEmission ¶ added in v0.0.9
func GetSubnetAlphaOutEmission(c *client.Client, netuid types.U16, block *types.Hash) (*types.U64, error)
GetSubnetAlphaOutEmission Returns sn tao emission percentage * 1e9 block is optional, but more performant if already subscribed to chain
func GetSubnetMovingPrice ¶ added in v0.0.9
func GetSubnetMovingPrice(c *client.Client, netuid types.U16, block *types.Hash) (*typetools.U96F32, error)
GetSubnetMovingPrice Returns sn tao emission percentage * 1e9 block is optional, but more performant if already subscribed to chain
Types ¶
Click to show internal directories.
Click to hide internal directories.