Skip to content

Commit

Permalink
add etherscan link to RoleManagerFactory
Browse files Browse the repository at this point in the history
update default protocol fee code
  • Loading branch information
rossgalloway committed Oct 29, 2024
1 parent 59fe07d commit ba4b61b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/developers/v3/protocol_fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You can retrieve both the default protocol fee as well as if a custom config has

``` solidity title="Examples"
# Retrieve the default config.
vaultFactory.default_protocol_fee_config()
vaultFactory.protocol_fee_config()
# Check a specific vault current config to be used
vaultFactory.protocol_fee_config(vault_address)
Expand Down
6 changes: 4 additions & 2 deletions docs/developers/v3/vault_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ There are multiple ways to handle deployments of vaults. By far the simplest way

The `RoleManagerFactory` can be used to deploy a full set of V3 periphery contracts including `Accountant`, `DebtAllocator`, `Registry` and `RoleManager` contracts and will configure them all automatically to make deployment and management as simple as possible while still allowing full customization where desired.

You can find the deployed `RoleManagerFactory` contract [here](https://etherscan.io/address/0xca12459a931643BF28388c67639b3F352fe9e5Ce).

You will only need three variables.

1. `projectName` : The name of your project i.e. "Yearn"
Expand Down Expand Up @@ -57,9 +59,9 @@ address newVault = myNewRoleManager.newVault(

Your new vault will now be deployed, with the Roles given out to each specified address, and Accountant hooked up to charge fees, and endorsed in your registry.

To learn more about how to customize your deployment setups and using the `RoleManager` contract view the [full spec](../smart-contracts/V3/periphery/RoleManager.md)
To learn more about how to customize your deployment setups and using the `RoleManager` contract view the [full spec](/developers/smart-contracts/V3/Periphery/RoleManager)

Alternatively you can manually deploy a vault directly from the factory and do a complete custom setup by following [these instructions](./vault_deployment.md)
Alternatively you can manually deploy a vault directly from the factory and do a complete custom setup by following [these instructions](./vault_deployment)

### Miscellaneous

Expand Down

0 comments on commit ba4b61b

Please sign in to comment.