Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy contracts with proxies on Avalanche mainnet & testnet #235

Closed
4 tasks
portuu3 opened this issue Feb 9, 2023 · 7 comments
Closed
4 tasks

Deploy contracts with proxies on Avalanche mainnet & testnet #235

portuu3 opened this issue Feb 9, 2023 · 7 comments

Comments

@portuu3
Copy link
Collaborator

portuu3 commented Feb 9, 2023

Description
Deploy contracts new version of contracts (main branch) on Avalanche Mainnet and Testnet
Check this PR as an example

Motivation
Release new version of contracts with staking

Implementation details

  • Deploy contracts
  • Verify contracts
  • Update contracts list
  • Deploy subgraph
@hrik2001
Copy link
Contributor

Hi @portuu3, I was working on getting the contracts deployed. (Feel free to assign me this issue)
For deploying the contracts, needed to make sure what the parameters should be for initialization.

Staking.sol asks for

  • _token: the HMToken address I believe
  • _minimumStake: don't know what this value should be
  • _lockPeriod: also don't know what this value should be

EscrowFactory.sol asks for

  • _staking: the Staking.sol's proxy address I believe

Reward.sol asks for

  • _token: address for HMToken I believe
  • _staking: the Staking.sol's proxy address I believe
  • _fees: I don't know what this value should be

@foufrix
Copy link
Contributor

foufrix commented Apr 3, 2023

Any news on this issue @portuu3 @hrik2001

@portuu3
Copy link
Collaborator Author

portuu3 commented Apr 4, 2023

Staking.sol asks for

  • _token: the HMToken address I believe --> Yes
  • _minimumStake: don't know what this value should be --> 1
  • _lockPeriod: also don't know what this value should be --> 1

EscrowFactory.sol asks for

  • _staking: the Staking.sol's proxy address I believe --> Yes

Reward.sol asks for

  • _token: address for HMToken I believe --> Yes
  • _staking: the Staking.sol's proxy address I believe --> Yes
  • _fees: I don't know what this value should be --> 1

@hrik2001 answers above.
You can use deploy-proxies.ts script

@portuu3 portuu3 assigned portuu3 and hrik2001 and unassigned portuu3 Apr 4, 2023
@foufrix
Copy link
Contributor

foufrix commented May 11, 2023

Hi @hrik2001 any news about that ?

@hrik2001
Copy link
Contributor

hrik2001 commented Oct 5, 2023

Hey, I am down for this. Do I have to apply again via gitcoin or do you want me to be assigned on this from github itself?

@foufrix
Copy link
Contributor

foufrix commented Oct 16, 2023

Hi @hrik2001 any news on this? Do you need something from Human Protocol to advance on that?

@ansaqib
Copy link
Contributor

ansaqib commented Oct 16, 2023

@foufrix and @hrik2001 This issue has been closed internally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Temporarily on hold
Development

No branches or pull requests

4 participants