HIP-3 deployer actions
// IMPORTANT: All lists of tuples should be lexographically sorted before signing
type PerpDeployAction =
| {
type: "perpDeploy",
registerAsset2: RegisterAsset2,
}
| {
type: "perpDeploy",
registerAsset: RegisterAsset,
}
| {
type: "perpDeploy",
setOracle: SetOracle,
}
| {
type: "perpDeploy",
setFundingMultipliers: SetFundingMultipliers,
}
| {
type: "perpDeploy",
setFundingInterestRates: SetFundingInterestRates,
}
| {
type: "perpDeploy",
haltTrading: { coin: string, isHalted: boolean },
}
| {
type: "perpDeploy",
setMarginTableIds: SetMarginTableIds,
}
| {
type: "perpDeploy",
setFeeRecipient: { dex: string, feeRecipient: address },
}
| {
type: "perpDeploy",
setOpenInterestCaps: SetOpenInterestCaps
}
| {
type: "perpDeploy",
setSubDeployers: { dex: string, subDeployers: Array<SubDeployerInput> }
}
| {
type: "perpDeploy",
setMarginModes: SetMarginModes
}
| {
type: "perpDeploy",
setFeeScale: SetFeeScale
}
| {
type: "perpDeploy",
setGrowthModes: SetGrowthModes
};Open interest caps
Last updated