Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Package = amino.RegisterPackage(amino.NewPackage( "github.com/gnolang/gno/gnovm/stdlibs/chain", "tm", amino.GetCallersDirname(), ). WithDependencies( abci.Package, ). WithTypes( EventAttribute{}, Event{}, StorageDepositEvent{}, StorageUnlockEvent{}, ))
Functions ¶
func X_packageAddress ¶
Types ¶
type Event ¶
type Event struct {
Type string `json:"type"`
Attributes []EventAttribute `json:"attrs"`
PkgPath string `json:"pkg_path"`
}
func (Event) AssertABCIEvent ¶
func (e Event) AssertABCIEvent()
type EventAttribute ¶
type StorageDepositEvent ¶
type StorageDepositEvent struct {
BytesDelta int64 `json:"bytes_delta"`
FeeDelta std.Coin `json:"fee_delta"`
PkgPath string `json:"pkg_path"`
}
StorageDepositEvent is emitted when a storage deposit fee is locked.
func (StorageDepositEvent) AssertABCIEvent ¶
func (e StorageDepositEvent) AssertABCIEvent()
type StorageUnlockEvent ¶
type StorageUnlockEvent struct {
// For unlock, BytesDelta is negative
BytesDelta int64 `json:"bytes_delta"`
FeeRefund std.Coin `json:"fee_refund"`
PkgPath string `json:"pkg_path"`
// RefundWithheld is true if the refund was retained because of token lock
RefundWithheld bool `json:"refund_withheld"`
}
StorageUnlockEvent is emitted when a storage deposit fee is unlocked.
func (StorageUnlockEvent) AssertABCIEvent ¶
func (e StorageUnlockEvent) AssertABCIEvent()
Click to show internal directories.
Click to hide internal directories.