-
Notifications
You must be signed in to change notification settings - Fork 3
[VEN-3204]: Enable prime on Unichain #554
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
base: main
Are you sure you want to change the base?
Conversation
params: [DEFAULT_ADMIN_ROLE, ACM_AGGREGATOR], | ||
dstChainId: LzChainId.unichainsepolia, | ||
}, | ||
...setConverterNetworkCommands, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I miss:
- configuration of rules in the PSR: addOrUpdateDistributionConfigs.
Schema 0:
Treasury: 60%
XVSVaultConverter: 20%
USDCPrimeConverter: 10%
WETHPrimeConverter: 10%
Schema 1:
Treasury: 80%
XVSVaultConverter: 20%
- commands to configure the conversions on each converter:
setConversionConfigs(address,address[],(uint256,uint8)[])
. You can check the VIP where Prime was enabled on Arbitrum: https://github.com/VenusProtocol/vips/blob/main/vips/vip-400/bscmainnet.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
vips/vip-501/bsctestnet.ts
Outdated
{ | ||
target: unichainsepolia.XVS_VAULT_PROXY, | ||
signature: "setPrimeToken(address,address,uint256)", | ||
params: [PRIME, unichainsepolia.XVS, PRIME_POOL_ID], | ||
dstChainId: LzChainId.unichainsepolia, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this has been already done, here: https://github.com/VenusProtocol/vips/blob/main/multisig/proposals/unichainsepolia/vip-006/index.ts#L110-L114
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
We are adding new markets to unichain. We should take that into account to configure the conversions. See here: #561 (comment) |
Description
Resolves VEN