-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add leveldb for caching * test: update address book * test: add interface for tests * test: wip test * test: running integration tests, wip * ci: adding boa cache * ci: fixing boa cache * revert: rm boa cache from ci * chore: fix typo * refactor: improve readability * test: more integration tests * chore: fix dev dependencies * chore: create fixture for shared logic * test: remove unnecessary approval * style: udnerscore numbers * test: reassign prev_d * test: generalize fee_splitter_cap test * test: removed redundant test --------- Co-authored-by: heswithme <[email protected]>
- Loading branch information
1 parent
de3bc42
commit 17fff35
Showing
10 changed files
with
691 additions
and
1,575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# yearn vaults 3.0.3 factory | ||
factory = "0x5577EdcB8A856582297CdBbB07055E6a6E38eb5f" | ||
yearn_vault_factory = "0x5577EdcB8A856582297CdBbB07055E6a6E38eb5f" | ||
crvusd = "0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E" | ||
crvusd_controller_factory = "0xC9332fdCB1C491Dcc683bAe86Fe3cb70360738BC" | ||
crvusd_fee_collector = "0xa2Bcd1a4Efbd04B63cd03f5aFf2561106ebCCE00" | ||
fee_splitter = "0x22556558419eed2d0a1af2e7fd60e63f3199aca3" | ||
dao_agent = "0x40907540d8a6C65c637785e8f8B742ae6b0b9968" | ||
vault_original = "0xcA78AF7443f3F8FA0148b746Cb18FF67383CDF3f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Events | ||
|
||
event SetReceivers: | ||
pass | ||
event LivenessProtectionTriggered: | ||
pass | ||
event FeeDispatched: | ||
receiver: address | ||
weight: uint256 | ||
event OwnershipTransferred: | ||
previous_owner: address | ||
new_owner: address | ||
|
||
# Structs | ||
|
||
struct Receiver: | ||
addr: address | ||
weight: uint256 | ||
|
||
# Functions | ||
|
||
@external | ||
def transfer_ownership(new_owner: address): | ||
... | ||
|
||
@external | ||
def renounce_ownership(): | ||
... | ||
|
||
@view | ||
@external | ||
def owner() -> address: | ||
... | ||
|
||
@external | ||
def update_controllers(): | ||
... | ||
|
||
@view | ||
@external | ||
def n_controllers() -> uint256: | ||
... | ||
|
||
@view | ||
@external | ||
def allowed_controllers(arg0: address) -> bool: | ||
... | ||
|
||
@view | ||
@external | ||
def controllers(arg0: uint256) -> address: | ||
... | ||
|
||
@external | ||
def dispatch_fees(controllers: DynArray[address, 50]): | ||
... | ||
|
||
@external | ||
def set_receivers(receivers: DynArray[Receiver, 100]): | ||
... | ||
|
||
@view | ||
@external | ||
def excess_receiver() -> address: | ||
... | ||
|
||
@view | ||
@external | ||
def n_receivers() -> uint256: | ||
... | ||
|
||
@view | ||
@external | ||
def version() -> String[8]: | ||
... | ||
|
||
@view | ||
@external | ||
def receivers(arg0: uint256) -> Receiver: | ||
... |
Oops, something went wrong.