Configuration
The contracts for the Core Protocol should be deployed in the following order
- 1.LosslessControllerV3
- 2.Upgrade to LosslessControllerV3
- 3.LosslessStaking
- 4.LosslessReporting
- 5.LosslessGovernance
- 1.Setup all Lossless Contracts addresses to allow interoperability
- 2.Whitelisted addresses should be set up to avoid them from being reported.a. setWhitelist([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.
- 3.Dex transfer threshold should be set in order to have some tolerance with Dex transfers
- 4.New settlement proposal timelock should be set
- 5.The Decentralized exchange list must be set in order to cater for them
- 1.The contract must be initialized with the Lossless Controller V3 Proxy to allow interaction
- 2.The token that will be used for staking purposes should be set
- 3.The amount required to stake should be set
- 4.The Lossless Governance Contract address should be set to allow interaction
- 5.The Lossless Reporting Contract should be set to allow interaction
- 1.The contract must be initialized with the Lossless Staking Contract Address and Lossless Controller V3 Proxy to allow interaction
- 2.The Lossless Governance Contract address should be set to allow interaction
- 3.The token that will be used for reporting should be set
- 4.The time frame on which a report would be active should be set in seconds
- 5.The amount required to fill a report should be set
- 6.Rewards percentages for the reporter, committee members, Lossless and stakers should be set
- 1.The contract must be initialized with the Lossless Reporting Contract, Lossless Controller V3 Proxy and Lossless Staking Contract Address to allow interactiona. initialize(Lossless Reporting Contract, Lossless Controller V3 Proxy, Lossless Staking Contract Address)
- 2.Committee Members should be set up to allow interaction with the committee methods
- 3.The compensation percentage for erroneously reported addresses should be set
- 4.The dispute period for the Wallet Proposals should be set
LERC20 Tokens on deployment should use the following parameters on the constructor
- 1.Total supply of the Token
- 2.Name
- 3.Symbol
- 4.Token Admin (allows interaction with the Core Protocol)
- 5.Recovery Admin (allows recovery in case main admin address gets compromised)
- 6.Time Lock Period (time frame in seconds for tokens to be settled and freely available)
- 7.Lossless Controller Address
Last modified 1yr ago