Skip to content

Instantly share code, notes, and snippets.

@dmichael
Last active Jan 10, 2019
Embed
What would you like to do?
# 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