Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator dynamically generates Cadence scripts from templates.
func NewGenerator ¶
NewGenerator returns a Generator using the given parameters.
func (*Generator) GetBalance ¶
GetBalance generates a Cadence script to retrieve the balance of an account.
func (*Generator) TokensDeposited ¶
TokensDeposited generates a Cadence script that matches the Flow event for tokens being deposited.
func (*Generator) TokensWithdrawn ¶
TokensWithdrawn generates a Cadence script that matches the Flow event for tokens being withdrawn.
Click to show internal directories.
Click to hide internal directories.