mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
InstaTokenDelegator => InstaToken
This commit is contained in:
parent
a4604792a6
commit
a9235cac95
|
@ -3,7 +3,7 @@ pragma experimental ABIEncoderV2;
|
||||||
|
|
||||||
import { TokenDelegatorStorage, TokenEvents } from "./TokenInterfaces.sol";
|
import { TokenDelegatorStorage, TokenEvents } from "./TokenInterfaces.sol";
|
||||||
|
|
||||||
contract InstaTokenDelegator is TokenDelegatorStorage, TokenEvents {
|
contract InstaToken is TokenDelegatorStorage, TokenEvents {
|
||||||
constructor(
|
constructor(
|
||||||
address account,
|
address account,
|
||||||
address implementation_,
|
address implementation_,
|
||||||
|
|
|
@ -18,7 +18,7 @@ async function main() {
|
||||||
|
|
||||||
await tokenDelegate.deployed()
|
await tokenDelegate.deployed()
|
||||||
|
|
||||||
const TokenDelegator = await ethers.getContractFactory("InstaTokenDelegator")
|
const TokenDelegator = await ethers.getContractFactory("InstaToken")
|
||||||
const tokenDelegator = await TokenDelegator
|
const tokenDelegator = await TokenDelegator
|
||||||
.deploy(initialHolder, tokenDelegate.address, initialSupply, mintingAfter, false)
|
.deploy(initialHolder, tokenDelegate.address, initialSupply, mintingAfter, false)
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ async function main() {
|
||||||
await timelock.deployed()
|
await timelock.deployed()
|
||||||
|
|
||||||
console.log("InstaTokenDelegate: ", tokenDelegate.address)
|
console.log("InstaTokenDelegate: ", tokenDelegate.address)
|
||||||
console.log("InstaTokenDelegator: ", tokenDelegator.address)
|
console.log("InstaToken: ", tokenDelegator.address)
|
||||||
console.log("InstaTimelock: ", timelock.address)
|
console.log("InstaTimelock: ", timelock.address)
|
||||||
console.log("InstaGovernorBravoDelegate: ", governorDelegate.address)
|
console.log("InstaGovernorBravoDelegate: ", governorDelegate.address)
|
||||||
console.log("InstaGovernorBravoDelegator: ", governorDelegator.address)
|
console.log("InstaGovernorBravoDelegator: ", governorDelegator.address)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user