forked from monsieurleberre/erc777-wrappers
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
085ee32
commit 15c639e
Showing
1 changed file
with
19 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,19 @@ | ||
|
||
const kUSDc = artifacts.require("kUSDc"); | ||
|
||
require('@openzeppelin/test-helpers/configure')({ provider: web3.currentProvider, environment: 'truffle' }); | ||
|
||
const { singletons } = require('@openzeppelin/test-helpers'); | ||
|
||
|
||
module.exports = async function(deployer, network, accounts) { | ||
|
||
const mintUserData = web3.utils.fromAscii("testing gift"); | ||
const mintOperatorData = web3.utils.fromAscii("sent donation"); | ||
const mintAmount = "0x" + (10000 * 10 ** 18).toString(16); | ||
|
||
const token = await kUSDc.deployed(); | ||
console.log(`\t> deployed at: ${token.address}`) | ||
await token.mint("0x55B1E5E9e6442892dD8B1c0c534235b187775d7a", mintAmount, mintUserData, mintOperatorData)//openware | ||
await token.mint("0x9DC57560Dc50cCFB7475B78B594B2444CFB7a1A5", mintAmount, mintUserData, mintOperatorData)//trakx | ||
}; |