Skip to content

Instantly share code, notes, and snippets.

@dmichael
Last active January 10, 2019 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmichael/5a2feba2c8fd86debe75770b476b5ba3 to your computer and use it in GitHub Desktop.
Save dmichael/5a2feba2c8fd86debe75770b476b5ba3 to your computer and use it in GitHub Desktop.
# Single input, multiple converted outputs
trigger:
name: balance
params:
condition: '> 10'
action:
name: swap
params:
outputs:
- symbol: TUSD # required: any asset supported by our exchanges or inputs
address: 0x23b9320d0f0D57bdF32000083aA602e3E6c15cff # optional: default is a custodied address, must be valid for asset
percentage: 0.5 # percentages must add to 1
- symbol: GUSD
address: 0x23b9320d0f0D57bdF32000083aA602e3E6c15cff
percentage: 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment