CLI tool for launching a new LSP (Long-Short Pair). Relevant docs at Outcome.Finance: https://docs.outcome.finance/ and UMA: https://docs.umaproject.org/
Updates the launch script to use the latest interface, which includes pairName, long and short token names and symbols, optimisticOracleLivenessTime, and optimisticOracleProposerBond parameters.
Uses getAbi with the latest core version instead of hardcoding the ABI.
Uses getAddress to pull addresses dynamically based on chain ID when none is passed.
Pass in pairName, optimisticOracleLivenessTime, and optimisticOracleProposerBond as parameters.
Pull in FPL addresses dynamically based on chain ID.
TODO:
New core release with updated networks files; may need to wait until post-audit.
Explain how to configure FPLs appropriately on Etherscan/PolygonScan.
Signed-off-by: John Shutt john.d.shutt@gmail.com
pairName
, long and short token names and symbols,optimisticOracleLivenessTime
, andoptimisticOracleProposerBond
parameters.getAbi
with the latest core version instead of hardcoding the ABI.getAddress
to pull addresses dynamically based on chain ID when none is passed.pairName
,optimisticOracleLivenessTime
, andoptimisticOracleProposerBond
as parameters.TODO: