Created
April 29, 2020 15:05
-
-
Save Sowmayjain/238e52aaa6b365da4df21882eeb4a159 to your computer and use it in GitHub Desktop.
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
let token1 = "0x..." | |
let token2 = "0x..." | |
let token3 = "0x..." | |
let amount = 0 // set amount to transfer | |
let to = "0x..." // target address to withdraw | |
spells.add({ | |
connector: "basic", | |
method: "deposit", | |
args: [token1, amount, getId, setId] | |
}); | |
spells.add({ | |
connector: "basic", | |
method: "deposit", | |
args: [token2, amount, getId, setId] | |
}); | |
spells.add({ | |
connector: "basic", | |
method: "deposit", | |
args: [token3, amount, getId, setId] | |
}); | |
spells.add({ | |
connector: "basic", | |
method: "withdraw", | |
args: [token1, amount, to, getId, setId] | |
}); | |
spells.add({ | |
connector: "basic", | |
method: "withdraw", | |
args: [token2, amount, to, getId, setId] | |
}); | |
spells.add({ | |
connector: "basic", | |
method: "withdraw", | |
args: [token3, amount, to, getId, setId] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment