Skip to content

Commit

Permalink
4. Issue tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
gwmccubbin committed Aug 18, 2020
1 parent 721cf72 commit 972129f
Show file tree
Hide file tree
Showing 7 changed files with 5,113 additions and 375 deletions.
9 changes: 9 additions & 0 deletions scripts/issue-token.js
@@ -0,0 +1,9 @@
const TokenFarm = artifacts.require('TokenFarm')

module.exports = async function(callback) {
let tokenFarm = await TokenFarm.deployed()
await tokenFarm.issueTokens()
// Code goes here...
console.log("Tokens issued!")
callback()
}
74 changes: 37 additions & 37 deletions src/abis/DaiToken.json
Expand Up @@ -804,7 +804,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "634:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -933,7 +933,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "777:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -998,10 +998,10 @@
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
442,
443
599,
600
],
"referencedDeclaration": 442,
"referencedDeclaration": 599,
"src": "759:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
Expand Down Expand Up @@ -1058,7 +1058,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "819:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -1200,7 +1200,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "898:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -1464,7 +1464,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1057:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -1558,7 +1558,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1111:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -1876,10 +1876,10 @@
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
442,
443
599,
600
],
"referencedDeclaration": 442,
"referencedDeclaration": 599,
"src": "1280:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
Expand Down Expand Up @@ -1985,7 +1985,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1360:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -2035,10 +2035,10 @@
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
442,
443
599,
600
],
"referencedDeclaration": 442,
"referencedDeclaration": 599,
"src": "1325:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
Expand Down Expand Up @@ -2268,7 +2268,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1469:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -3128,7 +3128,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "634:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -3257,7 +3257,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "777:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -3322,10 +3322,10 @@
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
442,
443
599,
600
],
"referencedDeclaration": 442,
"referencedDeclaration": 599,
"src": "759:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
Expand Down Expand Up @@ -3382,7 +3382,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "819:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -3524,7 +3524,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "898:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -3788,7 +3788,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1057:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -3882,7 +3882,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1111:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -4200,10 +4200,10 @@
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
442,
443
599,
600
],
"referencedDeclaration": 442,
"referencedDeclaration": 599,
"src": "1280:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
Expand Down Expand Up @@ -4309,7 +4309,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1360:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -4359,10 +4359,10 @@
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
442,
443
599,
600
],
"referencedDeclaration": 442,
"referencedDeclaration": 599,
"src": "1325:7:0",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
Expand Down Expand Up @@ -4592,7 +4592,7 @@
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 439,
"referencedDeclaration": 596,
"src": "1469:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
Expand Down Expand Up @@ -4962,12 +4962,12 @@
}
},
"links": {},
"address": "0xB210eeC7B8FD3c3F474cdb40A0e79fd2f7A5A9fc",
"transactionHash": "0xe563d747a3e3754c930fab470361e0221d8c20a4b4d9090a33231bbec12f3610"
"address": "0xbfB150Fa72Bff9ebBCbED04Ed0C3E6d58b9200A9",
"transactionHash": "0x0ee8949db10fb3eb8caa9a66e314dd79c67c22d6b8e11aea70fce64eae3ab917"
}
},
"schemaVersion": "3.2.3",
"updatedAt": "2020-08-18T18:35:00.424Z",
"updatedAt": "2020-08-18T19:56:20.147Z",
"networkType": "ethereum",
"devdoc": {
"methods": {}
Expand Down
6 changes: 3 additions & 3 deletions src/abis/DappToken.json
Expand Up @@ -4962,12 +4962,12 @@
}
},
"links": {},
"address": "0x7b729B07EcBDEd8879Acf997aAF6546926982830",
"transactionHash": "0xba5fe8153468b4a2b4822ee8464a90e1bbbd97b4f160a3c6b9c01f072cf63136"
"address": "0xd62fcFaF83E8894a11904D28db26f3b0A36ED76C",
"transactionHash": "0x5ffe57a17a63910c04bb8a20ab62a33668ef4843241a07e6baf6dfe6662573a6"
}
},
"schemaVersion": "3.2.3",
"updatedAt": "2020-08-18T18:35:00.421Z",
"updatedAt": "2020-08-18T19:56:20.144Z",
"networkType": "ethereum",
"devdoc": {
"methods": {}
Expand Down
6 changes: 3 additions & 3 deletions src/abis/Migrations.json
Expand Up @@ -1381,12 +1381,12 @@
"5777": {
"events": {},
"links": {},
"address": "0x9d2C5aA922125C433bb1fd10EB329445b94ad6cf",
"transactionHash": "0xced3ea2486dc500a0f4022c6c064f58edf0a5bdb234f25a7c7c3ef8b304599b3"
"address": "0x8fB57EAE31bE46E6F245A600303f5Fe5F8fAa629",
"transactionHash": "0x5f3cd266cde4025c48b4a618b9d191238a2c6308a9ac8687407f768137ac0182"
}
},
"schemaVersion": "3.2.3",
"updatedAt": "2020-08-18T18:35:00.427Z",
"updatedAt": "2020-08-18T19:56:20.154Z",
"networkType": "ethereum",
"devdoc": {
"methods": {}
Expand Down

0 comments on commit 972129f

Please sign in to comment.