events

package
v0.4.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AttributeFromAddr    = "from"
	AttributeToAddr      = "to"
	AttributeTokenAmount = "amount"
	AttributeTokenDenom  = "denom"
)

x/stablecoin attributes for events

Variables

This section is empty.

Functions

func EmitBurnNIBI

func EmitBurnNIBI(ctx sdk.Context, coin sdk.Coin)

EmitBurnNIBI emits an event when NIBI is burned.

func EmitBurnStable

func EmitBurnStable(ctx sdk.Context, coin sdk.Coin)

EmitBurnStable emits an event when a Nibiru Stablecoin is burned.

func EmitBuyback

func EmitBuyback(
	ctx sdk.Context, inCoin sdk.Coin, outCoin sdk.Coin, caller string,
	collRatio sdk.Dec,
)

EmitBuyback emits an event when a 'Buyback' occurs.

func EmitMintNIBI

func EmitMintNIBI(ctx sdk.Context, coin sdk.Coin)

EmitMintNIBI emits an event when NIBI is minted.

func EmitMintStable

func EmitMintStable(ctx sdk.Context, coin sdk.Coin)

EmitMintStable emits an event when a Nibiru Stablecoin is minted.

func EmitRecollateralize

func EmitRecollateralize(
	ctx sdk.Context, inCoin sdk.Coin, outCoin sdk.Coin, caller string,
	collRatio sdk.Dec,
)

EmitRecollateralize emits an event when a 'Recollateralize' occurs.

func EmitTransfer

func EmitTransfer(
	ctx sdk.Context, coin sdk.Coin, from string, to string,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL