Last active
July 7, 2020 12:44
-
-
Save dakk/c7147b700b6efd75d8a50f49d846cf88 to your computer and use it in GitHub Desktop.
yallo_medium_1_deploy.yallo
This file contains hidden or 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
import "Token.yallo"; | |
contract deployAToken { | |
field tokenAddress: address; | |
entry deployToken() { | |
let (a: address, op: operation) = Tezos.createContract (Token(Tezos.selfAddress(), 100, "ourToken"), None, 0); | |
this.tokenAddress = a; | |
[op] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment