-
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.
added signature from server side for signedAdd
- Loading branch information
Tien Ngo
committed
Feb 28, 2024
1 parent
958a6b3
commit 6bffb9f
Showing
3 changed files
with
100 additions
and
57 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
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
var OwnerData = artifacts.require("OwnerData"); | ||
const argv = require("minimist")(process.argv.slice(2), { | ||
string: ["trustee"], | ||
}); | ||
|
||
module.exports = function (deployer) { | ||
deployer.deploy(OwnerData); | ||
const trustee = | ||
argv.trustee || "0xdB33365a8730de2F7574ff1189fB9D337bF4c36d"; | ||
deployer.deploy(OwnerData, trustee); | ||
}; |
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