@@ -680,6 +680,8 @@ enum OperationType {
680680 VAULT_FEE_WITHDRAWN
681681 VAULT_WITHDRAW
682682 LIQUIDATION
683+ REVENUE_SPLITTER_OWNER_DEPLOYED
684+ REVENUE_SPLITTER_RECIPIENT_SET
683685}
684686
685687enum OrderDirection {
@@ -941,6 +943,24 @@ type Query {
941943 savingsGhoWithdraw (request : SavingsGhoWithdrawRequest ! ): TransactionRequest !
942944}
943945
946+ type RecipientPercent {
947+ """Address of the recipient."""
948+ address : EvmAddress !
949+
950+ """
951+ Percentage of the fee that will be sent to the recipient, expressed in basis points.
952+ """
953+ percent : PercentValue !
954+ }
955+
956+ input RecipientPercentInput {
957+ """Address of the recipient."""
958+ address : EvmAddress !
959+
960+ """Percentage of the fee that will be sent to the recipient."""
961+ percent : BigDecimal !
962+ }
963+
944964input RepayAmountInput @oneOf {
945965 """The native amount"""
946966 native : BigDecimal
@@ -1232,6 +1252,9 @@ type ReserveUserState {
12321252input SavingsGhoBalanceRequest {
12331253 """The user to query the savings GHO balance"""
12341254 user : EvmAddress !
1255+
1256+ """The chain id - savings GHO for now only works on Ethereum"""
1257+ chainId : ChainId
12351258}
12361259
12371260input SavingsGhoDepositRequest {
@@ -1245,6 +1268,9 @@ input SavingsGhoDepositRequest {
12451268 The address to which saving GHO shares will be minted to - defaults to `depositor`.
12461269 """
12471270 recipient : EvmAddress
1271+
1272+ """The chain id - savings GHO for now only works on Ethereum"""
1273+ chainId : ChainId
12481274}
12491275
12501276input SavingsGhoWithdrawAmount @oneOf {
@@ -1266,6 +1292,9 @@ input SavingsGhoWithdrawRequest {
12661292
12671293 """The address to which GHO will be minted to - defaults to `depositor`."""
12681294 recipient : EvmAddress
1295+
1296+ """The chain id - savings GHO for now only works on Ethereum"""
1297+ chainId : ChainId
12691298}
12701299
12711300input SayingsGhoDepositAmountInput {
@@ -1699,9 +1728,6 @@ type Vault {
16991728 """The vault address"""
17001729 address : EvmAddress !
17011730
1702- """The owner of the vault"""
1703- owner : EvmAddress !
1704-
17051731 """The name of the share"""
17061732 shareName : String !
17071733
@@ -1728,11 +1754,15 @@ type Vault {
17281754 """The user's shares info on the vault"""
17291755 userShares : UserVaultShares
17301756
1757+ """The owner of the vault"""
1758+ owner : EvmAddress !
1759+
17311760 """The total fees the owner can claim currently for the vault"""
17321761 feesBalance : TokenAmount !
17331762
17341763 """The total vault APR after their fee is taken off"""
17351764 vaultApr : PercentValue !
1765+ feeRecipients : [RecipientPercent ! ]!
17361766}
17371767
17381768input VaultDeployRequest {
@@ -1766,6 +1796,12 @@ input VaultDeployRequest {
17661796 The initial amount of underlying assets to deposit. This must be a non-zero, non-trivial amount, depending on the underlying asset's decimals.
17671797 """
17681798 initialLockDeposit : BigDecimal !
1799+
1800+ """
1801+ The recipients of the fee revenue, expressed as a percentage of the total fee revenue.
1802+ If not provided, the fee revenue will be sent to the owner of the vault.
1803+ """
1804+ recipients : [RecipientPercentInput ! ]
17691805}
17701806
17711807input VaultDepositAmountInput {
0 commit comments