-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ec492cb
Showing
26 changed files
with
66,563 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.secret | ||
node_modules | ||
src/abis |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const JamToken = artifacts.require('JamToken'); | ||
const StellartToken = artifacts.require('StellartToken'); | ||
const TokenFarm = artifacts.require('TokenFarm'); | ||
|
||
module.exports = async function(deployer, network, accounts) { | ||
|
||
// Despliegue del JamToken | ||
await deployer.deploy(JamToken) | ||
const jamToken = await JamToken.deployed() | ||
|
||
// Despliegue del StellartToken | ||
await deployer.deploy(StellartToken) | ||
const stellartToken = await StellartToken.deployed() | ||
|
||
// Despliegue del TokenFarm | ||
await deployer.deploy(TokenFarm, stellartToken.address, jamToken.address) | ||
const tokenFarm = await TokenFarm.deployed() | ||
|
||
// Transferir tokens StellartToken (token de recompensa) a TokenFarm (1 millon de tokens) | ||
await stellartToken.transfer(tokenFarm.address, '1000000000000000000000000') | ||
|
||
// Transferencia de los tokens para el Staking | ||
// await jamToken.transfer(accounts[1], '10000000000000000') | ||
} |
Oops, something went wrong.