mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
21 lines
281 B
Plaintext
21 lines
281 B
Plaintext
vars {
|
|
account $hold
|
|
account $dest
|
|
{{- if .Final }}
|
|
account $void_destination
|
|
{{- end }}
|
|
monetary $amount
|
|
}
|
|
|
|
send $amount (
|
|
source = $hold
|
|
destination = $dest
|
|
)
|
|
|
|
{{- if .Final }}
|
|
send [{{.Asset}} *] (
|
|
source = $hold
|
|
destination = $void_destination
|
|
)
|
|
{{- end }}
|