bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 16쪽 중 8쪽
in process of deprecation)
Policy that manages the auctions and the issuance of OHM Bonds.
Dependencies
ROLES
module
TRSRY
module
MINTR
module
BLREG
module
Permissions
MINTR.mintOhm
MINTR.burnOhm
MINTR.increaseMintApproval
BLREG.addVault
BLREG.removeVault
Roles
liquidityvault_admin
: Has the ability to configure the Lido Boosted Liquidity Vault parameters, as well as activating the vaults.
emergency_admin
: Has the ability shut down the Lido Boosted Liquidity Vaults.
Kernel and ROLES module
Network
Type
Address
Executor
Mainnet
Kernel
0x2286d7f9639e8158FaD1169e76d1FbC38247f54b
DAO MS
Mainnet
ROLES module
0x6CAfd730Dc199Df73C16420C4fCAb18E3afbfA59
DAO MS
Active Roles
Role
Executor
admin
DAO Multisig
emergency_restart
DAO Multisig
emergency_shutdown
Emergency Multisig
heart_admin
DAO Multisig
operator_admin
DAO Multisig
operator_policy
DAO Multisig
operator_operate
DAO Multisig
operator_reporter
Bond Callback
custodian
DAO Multisig
callback_admin
DAO Multisig
price_admin
DAO Multisig
price_admin
DAO Multisig
bondmanager_admin
DAO Multisig
liquidityvault_admin
DAO Multisig
emergency_admin
Emergency Multisig
bridge_admin
DAO Multisig
cooler_overseer
DAO MS
emergency_shutdown
Emergency MS
Relevant Multisigs
Multisig
Network
Address
Roles
Setup
DAO Multisig
Mainnet
0x245cc372C84B3645Bf0Ffe6538620B04a217988B
[
executor
,
admin
,
emergency_restart
,
operator_admin
,
operator_operate
,
custodian
,
callback_admin
,
price_admin
,
cooler_overseer
]
4/8
Emergency Multisig
Mainnet
0xa8A6ff2606b24F61AFA986381D8991DFcCCd2D55
[
emergency_shutdown
,
emergency_admin
]
2/10
ROLES.sol
Kernel.sol
RolesAdmin.sol
Emergency.sol
Heart.sol
Operator.sol
TreasuryCustodian.sol
BondCallback.sol
PriceConfig.sol
BondManager.sol
Clearinghouse.sol
CrossChainBridge.sol
BLVaultManagerLido.sol (in process of deprecation)
Kernel and ROLES module
Active Roles
Relevant Multisigs
## /main/publications/papers
Protocol Related Papers
Zeus, indigo - Liquid Interest Rate Markets Through Olympus Bonds
Zeus et al - Stabilizing Currency Through a Protocol Enforced Range
Gauntlet - DeFi Liquidity Management via Optimal Control: Ohm as a Case Study
Related Tweet Thread
## /main/legacy/staking
On this page
Staking
Though rebasing is no longer in effect, users can still stake their OHM for gOHM. A user would mainly do so in order to acquire governance votes, or to interact with Cooler Loans.
Legacy Rebasing
The original implementation of Olympus featured rebasing through the sOHM token. This mechanism was designed to reflect staking growth via supply and suppress OHM's unit price while preserving value for long-term holders, similar to how stock splits work in traditional markets. Rebasing increased the OHM supply for stakers such that 1 OHM staked before the first rebase was ~269.24 upon the final rebase.
This historical mechanism continues to impact how OHM is represented today. Standard price charts only display the unstaked OHM price, creating a misleading impression of value changes. For example, someone who staked 1 OHM at $269 in March 2021 would have accumulated over 269 OHM by January 2023. Even with the unstaked price at $10, their position value would be $2,690 – a 10x increase in value despite what appears as a 96.3% price drop on conventional charts
You might see the phrase 'Index-Adjusted' mentioned when referring to historical metrics like price, backing or supply. What this means is that the metric has been normalized to account for the effects of rebasing. For example, Index-Adjusted Supply shows what the circulating supply is on a given date if all the rebases up to that date were accounted for, providing a more accurate view of supply growth over time. These adjusted metrics allow for more meaningful comparisons across different time periods in Olympus' history.
Legacy Rebasing
## /main/resources/assets
On this page
Assets
Logos
Download as .svg
Download as .ai
Download as .svg
Download as .ai
Download as .svg
Download as .png
Download as .svg
Download as .png
Logos
## /main/governance/proposal_lifecycle
On this page
Proposal Lifecycle
Any proposal to Olympus' Governor Bravo follows this lifecycle:
Proposal is submitted by calling
propose()
. Proposal review period begins.
Proposal is activated for voting by calling
activate()
. Proposal voting period begins.
Proposal is queued by calling
queue()
. Proposal is transfered to Timelock, and grace period begins.
Proposal is executed by calling
execute()
, upgrading Olympus protocol.
Proposal Submission
To submit a new proposal to On-chain Governance (OCG), submitters interact directly with Governor Bravo contract by calling propose() function. However, the following requirements must be met before submitting a proposal:
Minimum voting power
- proposer must hold, and maintain, at least proposalThreshold of the total gOHM supply at time of proposal submission.
Code review
- proposals must be added, tested and simulated in olympus-v3 repository. This process ensures that the proposal is secure and achieves the intended outcomes without putting the protocol at risk.
To learn more about how to submit proposals, visit
Proposal Submission Framework page
.
info
The current proposalThreshold is set to 0.017% of the total gOHM supply
Proposal Review
Calling
propose()
sets the start block of the proposal
votingDelay
number of days after current block. This delay is designed to give tokenholders time to review the proposal and its implications.
OCG's trustless nature is one of its greatest strengths, but it also presents a challenge: the inability to mandate specific frameworks or best practices at the smart contract level. As a result, tokenholders plays a central role in evaluating the proposed on-chain actions for intent. Tokenholders responsibilities include, but are not limited to:
Verify proposal actions align with the protocol's goals,
Intent: Ensure the proposal intent is clear, transparent and not malicious,
Consensus: Ensure the proposal on-chain actions matches the consensus reached in the forums.
Security Assurance: This phase is critical for safeguarding the protocol against malicious proposals.
Community Engagement: Active community participation is vital in evaluating the proposal's feasibility and impact.
To address this challenge, Olympus uses
forge-proposal-simulator
, an open-source framework designed to structure proposals effectively and streamline the proposal verification process. On a high-level, this framework allows anyone to execute proposals in a forked environment and develop integration tests to examine the new system's behavior in a controlled sandbox.
Due to the importance of this framework in ensuring transparency and security,
Emergency MS will veto any proposals not adopting it
. This stance is based on the belief that
omitting the framework could indicate an attempt to pass a harmful proposal
by obfuscating its review process.
info
The current votingDelay is set to 3 days
Proposal Activation
Anyone can activate a proposal by calling
activate()
. Calling activate records
quorumVotes
on the proposal. If the proposal targets a high-risk module, the quorum is calculated using the
getHighRiskQuorumVotes()
function:
function
getHighRiskQuorumVotes
(
)
public
view
returns
(
uint256
)
{
return
(
gohm
.
totalSupply
(
)
*
highRiskQuorum
)
/
100
_000
;
}
Otherwise, quorum is calculated using the
getQuorumVotes()
function:
function
getQuorumVotes
(
)
public
view
returns
(
uint256
)
{
return
(
gohm
.
totalSupply
(
)
*
quorumPct
)
/
100
_000
;
}
The proposal will use this
quorumVotes
for the remainder of proposal lifecycle.
info
The current quorumPct is set to 20% of gOHM supply
Also, if the proposal is not activated within the
activationGracePeriod
days after proposal review, it will expire and can no longer be activated.
info
The current activationGracePeriod is set to 1 day
Proposal Voting
Olympus' implementation of Governor Bravo employs a pessimistic vote casting mechanism. This mechanism operates under the assumption that all governance proposals could potentially be malicious. Therefore, it consistently computes the most unfavorable voting supply at different timestamps for each participant. This mechanism is designed to prevent voters from altering their exposure level to the gOHM and influence the outcome of the vote. By doing so, it attempts to safeguard the voting process against strategies that manipulate voting power.
function
castVoteInternal
(
address
voter
,
uint256
proposalId
,
uint8
support
)
internal
returns
(
uint256
)
{
// Checks...
// Get the user's votes at the start of the proposal and at the time of voting. Take the minimum.
uint256
originalVotes
=
gohm
.
getPriorVotes
(
voter
,
proposal
.
startBlock
)
;
uint256
currentVotes
=
gohm
.
getPriorVotes
(
voter
,
block
.
number
)
;
uint256
votes
=
currentVotes
>
originalVotes
?
originalVotes
:
currentVotes
;
// Effects...
}
Consider the following examples:
Alice has 0 gOHM at time of
proposal.startBlock
and 100 gOHM when she votes.
castVote()
will return 0 gOHM.
Jim has 100 gOHM at time of
proposal.startBlock
and 0 gOHM when he votes.
castVote()
will return 0 gOHM.
Bob has 100 gOHM at time of
proposal.startBlock
and 100 gOHM when he votes.
castVote()
will return 100 gOHM.
Robert has 50 gOHM at time of
proposal.startBlock
and 100 gOHM when he votes.
castVote()
will return 50 gOHM.
At the end of the voting period, the contract checks proposal's state by checking two things:
Quorum: Number of FOR votes at least
proposal.quorumVotes
(the proposal quorum set during
activate()
)
Net votes: Percentage of FOR votes at least
approvalThresholdPct
(the majority approval threshold)
function
getVoteOutcome
(
uint256
proposalId
)
public
view
returns
(
bool
)
{
Proposal
storage
proposal
=
proposals
[
proposalId
]
;
if
(
proposal
.
forVotes
==
0
&&
proposal
.
againstVotes
==
0
)
{
return
false
;
}
else
if
(
(
proposal
.
forVotes
*
100
_000
)
/
(
proposal
.
forVotes
+
proposal
.
againstVotes
)
<
approvalThresholdPct
||
proposal
.
forVotes
<
proposal
.
quorumVotes
)
{
return
false
;
}
return
true
;
}
If either quorum or net votes is not met, the proposal is automatically defeated.
info
The current votingPeriod is set to 7 days from the time the proposal is activated.
info
The current quorumPct is set to 20% of gOHM supply
info
The current approvalThresholdPct is set to 60%
Proposal Queuing
Anyone can activate a proposal by calling
queue()
. Queueing a proposal prepares the proposal for execution by the Timelock contract in
delay
days. The proposer's gOHM balance is again checked during
queue()
. If the balance falls below
proposalThreshold
, the proposal will fail.
info
The current delay is set to 1 day
Proposal Execution
Any can execute a proposal by calling
execute()
. Executing a proposal triggers the Timelock contract to execute the proposal's actions. The proposer's gOHM balance is again checked during
execute()
. If the balance falls below
proposalThreshold
, the proposal will fail.
Also, if the proposal is not activated within the
GRACE_PERIOD
days after proposal is queued, it will expire and can no longer be executed.
info
The current GRACE_PERIOD is set to 1 day
Canceling Proposal
The proposal can be canceled at any time (before execution) by the proposer. A proposer can be canceled by anyone only if the proposer's gOHM balance
is below
proposalThreshold
.
Vetoing Proposal
The proposal can be vetoed any time (before execution) by the Veto Guardian. Once a proposal is vetoed, it fails forever.
info
The current Veto Guardian is set to Emergency MS
Emergency State
In the event that gOHM supply collapsed below MIN_GOHM_SUPPLY, Governor Bravo contract enters an emergency state. No
proposal can be submitted, activated, queued, or executed. The only action that can be taken is
emergencyPropose()
which
can only be called by Veto Guardian. This function is used to propose a new proposal to address the emergency situation.
info
The current MIN_GOHM_SUPPLY is set to 1000 gOHM
Proposal Submission
Proposal Review
Proposal Activation
Proposal Voting
Proposal Queuing
Proposal Execution
Canceling Proposal
Vetoing Proposal
Emergency State
## /main/governance/proposal_submission
On this page
Submission Guidelines
info
Before submitting a new proposal, it's essential to understand Olympus' On-Chain Governance (OCG) system. Please review the details in the
Intro page
and
Proposal lifecycle page
.
Requirements
To submit a new proposal to on-chain governance (OCG), submitters interact directly with Governor Bravo contract by calling
propose()
function. However, the following requirements must be met before submitting a proposal:
Minimum voting power
- proposer must hold, and maintain, at least
proposalThreshold
of the total gOHM supply at time of proposal submission.
Code review
- proposals must be added, tested and simulated in
olympus-v3 repository
. This process ensures that the proposal is secure and achieves the intended outcomes without putting the protocol at risk.
Minimum voting power
Whily anyone can submit a proposal by calling
propose()
, the transaction will revert unless proposer has a minimum amount of voting power to submit a proposal, determined by calling the
getProposalThresholdVotes()
function:
function
getProposalThresholdVotes
(
)
public
view
returns
(
uint256
)
{
return
(
gohm
.
totalSupply
(
)
*
proposalThreshold
)
/
100
_000
;
}
The proposer's gOHM balance is checked within the
propose()
,
queue()
, and
execute()
functions. If, at any time, the proposer's gOHM balance falls below the proposal threshold, the proposal will fail. This approach ensures that proposers (or their delegators) maintain skin in the game, preventing them from benefiting from malicious proposals.
info
The current proposalThreshold is set to 0.017% of the total gOHM supply
Code review
Olympus uses
forge-proposal-simulator
, an open-source framework designed to structure proposals effectively and streamline the proposal verification process. On a high-level, this framework allows anyone to execute proposals in a forked environment and develop integration tests to examine the new system's behavior in a controlled sandbox.
Warning
Due to the importance of this framework in ensuring transparency and security,
Emergency MS will immediately veto any proposals not satisfying the two requirements
. This stance is based on the belief that bypassing the framework indicates an attempt to pass a harmful proposal by obfuscating its review process.
Instructions
To successfully submit a proposal, the proposer must do the following:
Submit code as a pull request to
olympus-v3 repo
Reach out in Discord to request a review from the community
Acquire, or be delegated to,
proposalThreshold
percent of gOHM supply. Proposer must maintain that amount of gOHM until conclusion of proposal
Call
propose()
on Governor Bravo contract, including the PR link in the description
To submit a successful PR with integration tests, begin by creating a new contract in
src/proposals/
named after its corresponding OIP (e.g.,
OIP_XXX.sol
). The contract should inherit
GovernorBravoProposal
, and use
OIP_XXX.sol
as a template.
Declare all necessary dependencies in
address registry
. Follow this naming convention:
Use lowercase.
Separate words with dashes.
Start with the source:
"olympus"
or
"external"
.
Indicate the address/contract type: e.g.,
"token"
,
"multisig"
,
"policy"
.
Include the address/contract name.
Exceptions:
"proposer"
,
"olympus-governor"
,
"olympus-kernel"
.
Examples:
Olympus policies:
"olympus-policy-xxx"
Olympus modules: Use the following pattern instead of importing module addresses:
Kernel kernel
=
Kernel
(
addresses
.
getAddress
(
"olympus-kernel"
)
)
;
address
TRSRY
=
address
(
kernel
.
getModuleForKeycode
(
toKeycode
(
bytes5
(
"TRSRY"
)
)
)
)
;
External tokens (DAI, sDAI, etc):
external-tokens-xxx
External contracts:
external-coolers-factory
Olympus multisigs:
olympus-multisig-dao
or
olympus-multisig-emergency
Olympus legacy contracts (OHM, gOHM, staking):
"olympus-legacy-xxx"
Deploy the smart contracts by running
_deploy()
. If the contract is already deployed, import addresses from
address registry
instead. If necessary, use
_afterDeploy()
hook to cache balances or other values to be used in
validate()
.
Construct the proposal actions by using
_build()
. Use the following functions:
// @dev push an action to the proposal
function
\
_pushAction
(
uint256
value
,
address
target
,
bytes
memory
data
,
string
memory
\_description
)
internal
{
actions
.
push
(
Action
(
{
value
:
value
,
target
:
target
,
arguments
:
data
,
description
:
\_description
}
)
)
;
}
// @dev push an action to the proposal with a value of 0
function
_pushAction
(
address
target
,
bytes
memory
data
,
string
memory
_description
)
internal
{
_pushAction
(
0
,
target
,
data
,
_description
)
;
}
```
Simulate the proposal execution by calling `
_run
(
)
`
.
Use the provided code
:
```
solidity
// Executes the proposal actions.
function
_run
(
Addresses addresses
,
address
)
internal
override
{
// Simulates actions on TimelockController
_simulateActions
(
addresses
.
getAddress
(
"olympus-governor"
)
,
addresses
.
getAddress
(
"olympus-legacy-gohm"
)
,
addresses
.
getAddress
(
"proposer"
)
)
;
}
```
Perform validations and assertions through `
_validate_
(
)
`
.
Validations should definitely demonstrate to the community that the proposal
is
secure and achieves the intended outcomes without putting the protocol at risk
.
Create tests in
[
src
/
test
/
proposals
/
]
(
https
:
/
/
github
.
com
/
OlympusDAO
/
olympus
-
v3
/
tree
/
master
/
src
/
test
/
proposals
)
named after the OIP
(
e
.
g
.
,
`OIP_XXX
.
t
.
sol`
for
unit tests and `testProposal_xxx`
for
integration tests
)
.
Use
[
OIP_XXX
.
t
.
sol
]
(
https
:
/
/
github
.
com
/
OlympusDAO
/
olympus
-
v3
/
tree
/
master
/
src
/
test
/
proposals
/
OIP_XXX
.
t
.
sol
)
as
a template
.
Import your proposal
,
and its dependencies
.
Modify `
setUp
(
)
` in `OIP_XXX
.
sol` and include
this
test to ensure `
setUp
(
)
`
is
executed correctly
:
```
solidity
// [DO NOT DELETE] Dummy test to ensure that `setUp` is executed
function
testProposal
(
)
public
{
assertTrue
(
true
)
;
}
Once you feel comfortable, open a pull request in
olympus-v3 repo
in the format
OIP-XXX: proposal simulation
.
Requirements
Minimum voting power
Code review
Instructions
## /main/contracts/addresses
On this page
Addresses
Multisigs
Contract
Chain
Address
DAO
Ethereum
0x245cc372C84B3645Bf0Ffe6538620B04a217988B
Arbitrum
0x012BBf0481b97170577745D2167ee14f63E2aD4C
Optimism
0x559a14a2219Ae81f9a9f857CF31407de2b07F36c
Polygon
0xe06efA3D9Ee6923240ee1195A16ddd96B5CcE8F7
Fantom
0x2bC001fFEB862d843e0a02a7163C7d4828e5FB10
Avalanche
0xD1f617fDC0E2e7aF49f7250f163095E76F8e4B32
Bera
0x91494D1BC2286343D51c55E46AE80C9356D099b5
Executor
Goerli
0x84C0C005cF574D0e5C602EA7b366aE9c707381E0
Guardian
Goerli
0x84C0C005cF574D0e5C602EA7b366aE9c707381E0
Emergency
Mainnet
0xa8A6ff2606b24F61AFA986381D8991DFcCCd2D55
Arbitrum
0xa8A6ff2606b24F61AFA986381D8991DFcCCd2D55
Optimism
0xa8A6ff2606b24F61AFA986381D8991DFcCCd2D55
Base
0xa8A6ff2606b24F61AFA986381D8991DFcCCd2D55
Bera
0xa8A6ff2606b24F61AFA986381D8991DFcCCd2D55
Goerli
0x3dC18017cf8d8F4219dB7A8B93315fEC2d15B8a7
Olympus V3
Kernel
Contract
Version
Chain
Address
Kernel
1.0
Mainnet
0x2286d7f9639e8158FaD1169e76d1FbC38247f54b
Arbitrum
0xeac3eC0CC130f4826715187805d1B50e861F2DaC
Optimism
0x18878Df23e2a36f81e820e4b47b4A40576D3159C
Goerli
0xDb7cf68154bd422dF5196D90285ceA057786b4c3
Base
0x18878Df23e2a36f81e820e4b47b4A40576D3159C
Bera
0x623164A9Ee2556D524b08f34F1d2389d7B4e1A1C
Sepolia
0x4b0BBa51cE44175a9766f7e55e3d122프로젝트로 돌아가기