Versions in this module Expand all Collapse all v0 v0.0.25 Jul 24, 2026 Changes in this version + type Destination render + func DestAccount(expr Expression[ExprTypeAccount]) Destination + type ExprType interface + type ExprTypeAccount interface + type ExprTypeAsset interface + type ExprTypeMonetary interface + type ExprTypeNumber interface + type ExprTypeString interface + type Expression render + func ExprAccount(name string) Expression[ExprTypeAccount] + func ExprAsset(name string) Expression[ExprTypeAsset] + func ExprMonetary(asset Expression[ExprTypeAsset], amount Expression[ExprTypeNumber]) Expression[ExprTypeMonetary] + func ExprNumberBigInt(amount *big.Int) Expression[ExprTypeNumber] + func ExprString(name string) Expression[ExprTypeString] + func ExprVar[T ExprType](v *Var[T]) Expression[T] + type Overdraft render + func BoundedOverdraft(amt Expression[ExprTypeMonetary]) Overdraft + func UnboundedOverdraft() Overdraft + type Source render + func SrcAccount(expr Expression[ExprTypeAccount]) Source + func SrcAccountOverdraft(expr Expression[ExprTypeAccount], overdraft Overdraft) Source + func SrcColored(accountExpr Expression[ExprTypeAccount], colorExpr Expression[ExprTypeString]) Source + func SrcColoredOverdraft(accountExpr Expression[ExprTypeAccount], colorExpr Expression[ExprTypeString], ...) Source + func SrcInorder(sources ...Source) Source + type Statement render + func StmtSend(monetary Expression[ExprTypeMonetary], source Source, destination Destination) Statement + func StmtSendAll(asset Expression[ExprTypeAsset], source Source, destination Destination) Statement + type Var var_[ExprType] + func NewAccountVar() Var[ExprTypeAccount] + func NewAssetVar() Var[ExprTypeAsset] + func NewNumberVar() Var[ExprTypeNumber] + func NewStringVar() Var[ExprTypeString] + type VarsEnv struct + func BuildProgram(statements ...Statement) (map[string]string, VarsEnv, string) + func BuildProgramWithFeatureFlags(featureFlags []string, statements ...Statement) (map[string]string, VarsEnv, string) + func (v VarsEnv) FillAccount(var_ *Var[ExprTypeAccount], account string) (string, string) + func (v VarsEnv) FillAsset(var_ *Var[ExprTypeAsset], asset string) (string, string) + func (v VarsEnv) FillNumber(var_ *Var[ExprTypeNumber], bi *big.Int) (string, string) + func (v VarsEnv) FillString(var_ *Var[ExprTypeString], str string) (string, string)