# Deployment 7
## Kovan Deployment
```
/Users/amin/.nvm/versions/node/v14.18.1/bin/node /Users/amin/.nvm/versions/node/v14.18.1/lib/node_modules/npm/bin/npm-cli.js run deploy:kovan --scripts-prepend-node-path=auto
> hardhat-project@ deploy:kovan /Users/amin/Work/giveth/giv-token-contracts
> HARDHAT_NETWORK=kovan ts-node deployments/mainnet/2_tokenDistro_Unipools.js 1640272200 0x29434A25abd94AE882aA883eea81585Aaa5b078D 2000000000 0x3c2455a3ee0d824941c9329c01a66b86078c3e82 10000000 0x8a6b25e33b12d1bb6929a8793961076bd1f9d3eb 2500000 2500000
#######################
##### Deployments #####
#######################
Deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
totalTokens: 2000000000.0
startTime: 1640272200
cliffPeriod: 0
duration: 157680000
initialPercentage: 1000
tokenAddress: 0x29434A25abd94AE882aA883eea81585Aaa5b078D
LMDuration: 1209600
cancelable: false
#######################
##### TokenDistro #####
#######################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
totalTokens: 2000000000.0
startTime: 1640272200
cliffPeriod: 0
duration: 157680000
initialPercentage: 1000
tokenAddress: 0x29434A25abd94AE882aA883eea81585Aaa5b078D
cancelable: false
########################
TokenDistro deployed to: 0x2C84Ab41b53C52959a794830fe296Fd717c33337
#######################
##### Check #####
#######################
TokenDistro - totalTokens: 2000000000.0
TokenDistro - startTime: 1640272200
TokenDistro - cliffPeriod: 1640272200
TokenDistro - duration: 157680000
TokenDistro - initialAmount: 200000000000000000000000000
TokenDistro - token: 0x29434A25abd94AE882aA883eea81585Aaa5b078D
TokenDistro - cancelable:
false This smartcontract needs: 2000000000.0 Tokens
token.mint("0x2C84Ab41b53C52959a794830fe296Fd717c33337","2000000000000000000000000000")
######################################################
####### 50GIV/ETH - Uni Mainnet 10000000 #######
######################################################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
tokenDistribution: 0x2C84Ab41b53C52959a794830fe296Fd717c33337
uni staker: 0x1f98407aaB862CdDeF78Ed252D6f557aA5b0f00d
duration: 1209600
##############################################
GIVETH_UNI_REWARD deployed to: 0xDfbb5C70006B357d30BB335f55a01e6b0151Bcb5
##############################################
TokenDistro - assign: giveth_uni_reward 10000000
The new incentiveId will be 0xe95ce1ce8cc1078b98ea9585ea7e54af8b8f75cd4051267820ab3028af7514fd
Key: {
startTime: '1640272200',
endTime: '1655997000',
pool: '0x3C2455a3eE0D824941c9329c01A66b86078c3e82',
rewardToken: '0xDfbb5C70006B357d30BB335f55a01e6b0151Bcb5',
refundee: '0x5f672d71399d8cDbA64f596394b4f4381247E025'
}
Creating incentive in tx 0xaef422630061d85442b8c099358ffcd8e62be5a8688c6613e81e909f4a38a7df...
#######################
##### Check #####
#######################
giveth_uni_reward(tokenDistro,duration,periodFinish,uni):
giveth_uni_reward - tokenDistro: 0x2C84Ab41b53C52959a794830fe296Fd717c33337
uniswap v3 staker - balance of giveth_uni_reward: 10000000.0
######################################################
####### 80GIV/ETH - Bal Mainnet 2500000 #######
######################################################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
tokenDistribution: 0x2C84Ab41b53C52959a794830fe296Fd717c33337
uni: 0x8a6B25e33b12D1Bb6929a8793961076bD1F9D3eB
duration: 1209600
##############################################
GIVETH_BAL deployed to: 0x4B319c068685aF260c91407B651918307df30061
##############################################
TokenDistro - assign: giveth_uni_reward 2500000
0xe95ce1ce8cc1078b98ea9585ea7e54af8b8f75cd4051267820ab3028af7514fd
#######################
##### Check #####
#######################
giveth_bal(tokenDistro,duration,periodFinish,uni):
giveth_bal - tokenDistro: 0x2C84Ab41b53C52959a794830fe296Fd717c33337
giveth_bal - duration: 1209600
giveth_bal - periodFinish: 0
giveth_bal - uni: 0x8a6B25e33b12D1Bb6929a8793961076bD1F9D3eB
######################################################
####### GIVstaking ETH Mainnet 2500000 #######
######################################################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
tokenDistribution: 0x2C84Ab41b53C52959a794830fe296Fd717c33337
uni: 0x29434A25abd94AE882aA883eea81585Aaa5b078D
duration: 1209600
##############################################
UNIGIV deployed to: 0x17207684344B206A06BF8651d6e5e1833660418b
##############################################
TokenDistro - assign: giveth_uni_reward 2500000
#######################
##### Check #####
#######################
unigiv(tokenDistro,duration,periodFinish,uni):
unigiv - tokenDistro: 0x2C84Ab41b53C52959a794830fe296Fd717c33337
unigiv - duration: 1209600
unigiv - periodFinish: 0
unigiv - uni: 0x29434A25abd94AE882aA883eea81585Aaa5b078D
#######################
##### Final checks ###
#######################
tokenDistro.balances(tokenDistro.address) allocated: 1985000000.0 claimed: 0.0
tokenDistro.balances(giveth_uni_reward.address) allocated: 10000000.0 claimed: 0.0
tokenDistro.balances(giveth_bal.address) allocated: 2500000.0 claimed: 0.0
tokenDistro.balances(unigiv.address) allocated: 2500000.0 claimed: 0.0
tokenDistro.hasRole(tokenDistro.DISTRIBUTOR_ROLE(),giveth_uni_reward.address) true
tokenDistro.hasRole(tokenDistro.DISTRIBUTOR_ROLE(),giveth_bal.address) true
tokenDistro.hasRole(tokenDistro.DISTRIBUTOR_ROLE(),unigiv.address) true
Process finished with exit code 0
```
## xDai Deployment
```
/Users/amin/.nvm/versions/node/v14.18.1/bin/node /Users/amin/.nvm/versions/node/v14.18.1/lib/node_modules/npm/bin/npm-cli.js run deploy:xDAI --scripts-prepend-node-path=auto
> hardhat-project@ deploy:xDAI /Users/amin/Work/giveth/giv-token-contracts
> HARDHAT_NETWORK=xDAI ts-node deployments/xDAI/1_tokenDistro_merkleDistro_Unipool.js 1640272200 0x83a8eea6427985C523a0c4d9d3E62C051B6580d3 2000000000 0x31A5AeA76Af79F592a3A3F46a9f6Cb118990433b 10000000 0x437B0da7932b21F54488fD80Ee09b519a6f4d8AD 2500000 0x9ff80789b74d1d2b7cf5a568ea82409c2b327861 7500000
#######################
##### Deployments #####
#######################
Deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
totalTokens: 2000000000.0
startTime: 1640272200
cliffPeriod: 0
duration: 157680000
initialPercentage: 1000
tokenAddress: 0x83a8eea6427985C523a0c4d9d3E62C051B6580d3
LMDuration: 1209600
cancelable: true
merkletree_file: ./files/merkle_distributor_xdai_result.json
merkleTokens: 170499973.0
#######################
##### TokenDistro #####
#######################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
totalTokens: 2000000000.0
startTime: 1640272200
cliffPeriod: 0
duration: 157680000
initialPercentage: 1000
tokenAddress: 0x83a8eea6427985C523a0c4d9d3E62C051B6580d3
cancelable: true
########################
TokenDistro deployed to: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
#######################
##### Check #####
#######################
TokenDistro - totalTokens: 2000000000.0
TokenDistro - startTime: 1640272200
TokenDistro - cliffPeriod: 1640272200
TokenDistro - duration: 157680000
TokenDistro - initialAmount: 200000000000000000000000000
TokenDistro - token: 0x83a8eea6427985C523a0c4d9d3E62C051B6580d3
TokenDistro - cancelable: true
This smartcontract needs: 2000000000.0 Tokens
token.mint("0x18a46865AAbAf416a970eaA8625CFC430D2364A1","2000000000000000000000000000")
########################
##### MerkleDistro #####
########################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
distroAddress: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
merkletree_file: ./files/merkle_distributor_xdai_result.json
#######################
MerkleDistro deployed to: 0xc87403C70c9FBfb594d98d3B5E695BBE4C694188
#######################
TokenDistro - assign: MerkleDistro 170499973000000000000000000
#######################
##### Check #####
#######################
MerkleDistro - _tokenDistro: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
MerkleDistro - _merkleRoot: 0x223689d98d7e4f96fe371721b1cdf82b54ee33315e0a3974c84c8215d95b5eb3
######################################################
####### 50GIV/HNY - honeyswap - xDai 10000000 #######
######################################################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
tokenDistribution: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
uni: 0x31A5AeA76Af79F592a3A3F46a9f6Cb118990433b
duration: 1209600
##############################################
GIVHNY_XDAI deployed to: 0xC09147Ac0aC8B5271F03b511c3554e3238Ae3201
##############################################
TokenDistro - assign: givhny_xdai 10000000
#######################
##### Check #####
#######################
givhny_xdai(tokenDistro,duration,periodFinish,uni):
givhny_xdai - tokenDistro: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
givhny_xdai - duration: 1209600
givhny_xdai - periodFinish: 0
givhny_xdai - uni: 0x31A5AeA76Af79F592a3A3F46a9f6Cb118990433b
######################################################
####### 50GIV/WETH - honeyswap - xDai 2500000 #######
######################################################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
tokenDistribution: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
uni: 0x437B0da7932b21F54488fD80Ee09b519a6f4d8AD
duration: 1209600
##############################################
GIVHNY_XDAI deployed to: 0x83535D6DeF8E881E647C00462315bae9A6E7BD09
##############################################
TokenDistro - assign: givhny_xdai 2500000
#######################
##### Check #####
#######################
givweth_xdai(tokenDistro,duration,periodFinish,uni):
givweth_xdai - tokenDistro: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
givweth_xdai - duration: 1209600
givweth_xdai - periodFinish: 0
givweth_xdai - uni: 0x437B0da7932b21F54488fD80Ee09b519a6f4d8AD
######################################################
####### GIVstaking xDai - xDai - 7500000 #######
######################################################
deployer: 0x5f672d71399d8cDbA64f596394b4f4381247E025
tokenDistribution: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
uni: 0x83a8eea6427985C523a0c4d9d3E62C051B6580d3
duration: 1209600
##############################################
UNIGIV deployed to: 0xDAEa66Adc97833781139373DF5B3bcEd3fdda5b1
##############################################
TokenDistro - assign: givhny_xdai 7500000
#######################
##### Check #####
#######################
unigiv(tokenDistro,duration,periodFinish,uni):
unigiv - tokenDistro: 0x18a46865AAbAf416a970eaA8625CFC430D2364A1
unigiv - duration: 1209600
unigiv - periodFinish: 0
#######################
##### Final checks ###
#######################
tokenDistro.balances(tokenDistro.address) allocated: 1809500027.0 claimed: 0.0
tokenDistro.balances(merkleDistro.address) allocated: 170499973.0 claimed: 0.0
tokenDistro.balances(givhny_xdai.address) allocated: 10000000.0 claimed: 0.0
tokenDistro.balances(givweth_xdai.address) allocated: 2500000.0 claimed: 0.0
tokenDistro.balances(unigiv.address) allocated: 7500000.0 claimed: 0.0
tokenDistro.hasRole(tokenDistro.DISTRIBUTOR_ROLE(),merkleDistro.address) true
tokenDistro.hasRole(tokenDistro.DISTRIBUTOR_ROLE(),givhny_xdai.address) true
tokenDistro.hasRole(tokenDistro.DISTRIBUTOR_ROLE(),givweth_xdai.address) true
tokenDistro.hasRole(tokenDistro.DISTRIBUTOR_ROLE(),unigiv.address) true
Process finished with exit code 0
```