Playground
gnomod.toml
module = "gno.land/p/nym-gfanton001/gnotif/trigger/v0" gno = "0.9" [addpkg] creator = "g18me5p9kqqxyswd8ytrmlv3q8kvy7uacx2v90ne" height = 665354 max_deposit = "10000000ugnot"
trigger.gno
// Package trigger holds the Trigger struct that gnotif registries accept. A
// struct declared in a realm cannot be built by another realm, so it lives in
// a pure package.
package trigger
// Trigger holds one trigger's fields. Filter is comma-separated key=value
// pairs; Title, Body and Link are templates where {key} stands for the value
// of the event's attribute key.
type Trigger struct {
Event, Filter, Param, Title, Body, Link string
}