Configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
The contracts for the Core Protocol should be deployed in the following order
LosslessControllerV3
Upgrade to LosslessControllerV3
LosslessStaking
LosslessReporting
LosslessGovernance
Setup all Lossless Contracts addresses to allow interoperability
a. (Lossless Staking Contract Address)
b. (Lossless Reporting Contract Address)
c. Lossless Governance Contract Address)
Whitelisted addresses should be set up to avoid them from being reported.
a. ([Lossless Staking Contract Address, Lossless Reporting Contract Address, Lossless Governance Contract Address, Admin Addresses], true)
This also should contain all the contracts (defi protocols, staking, lpmining, vesting and so on), that should not be stopped.
Dex transfer threshold should be set in order to have some tolerance with Dex transfers
a. (Token Amount)
New settlement proposal timelock should be set
a. (New timelock in seconds)
The Decentralized exchange list must be set in order to cater for them
a. (Array of Dex addresses)
The contract must be initialized with the Lossless Controller V3 Proxy to allow interaction
a. initialize(Lossless Controller V3 Proxy)
The token that will be used for staking purposes should be set
The amount required to stake should be set
The Lossless Governance Contract address should be set to allow interaction
The Lossless Reporting Contract should be set to allow interaction
The contract must be initialized with the Lossless Staking Contract Address and Lossless Controller V3 Proxy to allow interaction
a. initialize(Lossless Staking Contract Address, Lossless Controller V3 Proxy)
The Lossless Governance Contract address should be set to allow interaction
The token that will be used for reporting should be set
The time frame on which a report would be active should be set in seconds
The amount required to fill a report should be set
Rewards percentages for the reporter, committee members, Lossless and stakers should be set
The contract must be initialized with the Lossless Reporting Contract, Lossless Controller V3 Proxy and Lossless Staking Contract Address to allow interaction
a. initialize(Lossless Reporting Contract, Lossless Controller V3 Proxy, Lossless Staking Contract Address)
Committee Members should be set up to allow interaction with the committee methods
The compensation percentage for erroneously reported addresses should be set
The dispute period for the Wallet Proposals should be set
a. setDisputePeriod( Dispute opening in seconds)
LERC20 Tokens on deployment should use the following parameters on the constructor
Total supply of the Token
Name
Symbol
Token Admin (allows interaction with the Core Protocol)
Recovery Admin (allows recovery in case main admin address gets compromised)
Time Lock Period (time frame in seconds for tokens to be settled and freely available)
Lossless Controller Address
a. (Staking LERC20 Token Address)
a. (Staking token amount)
a. (Lossless Governance Contract Address)
a. (Lossless Reporting Contract Address)
a. (Lossless Governance Contract Address)
a. (Reporting LERC20 Token Address)
a. (Time Frame in seconds)
a. (Reportin Token Amount)
a. (Reward percentage)
b. (Reward percentage)
c. (Reward percentage)
d. (Reward percentage)
a. ([Array of committee member addresses])
a. ( Compensation percentage)