This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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