ProtocolFeesCollector

Berachain

0xb8cf46cf1b1476e707619913a70b2085d26f1707

Solidity v0.7.1+commit.f4a555be

🤖
Query this contract from your AI
Reference: 0xb8cf46cf1b1476e707619913a70b2085d26f1707
Sample prompt: "Tell me the current state of berachain/0xb8cf46cf1b1476e707619913a70b2085d26f1707"
No AI wired up yet? → mcp.smarts.md
Berachain is a docs-only chain on Smarts: source code and ABI are indexed, but live on-chain data (state, recent events, admin profile) is not currently available. AI agents can still query get_contract_info and get_contract_source via MCP.

Overview

Read Functions
6
Write Functions
3
Events
2

Read Functions

getActionId(selector: bytes4) view
dev: Returns the action identifier associated with the external function described by `selector`.

Parameters

Name Type Description
selector bytes4

Returns

Name Type Description
bytes32
getAuthorizer() view
dev: Returns the Vault's Authorizer.

Returns

Name Type Description
address
getCollectedFeeAmounts(tokens: address[]) view

Parameters

Name Type Description
tokens address[]

Returns

Name Type Description
feeAmounts uint256[]
getFlashLoanFeePercentage() view

Returns

Name Type Description
uint256
getSwapFeePercentage() view

Returns

Name Type Description
uint256
vault() view

Returns

Name Type Description
address

Write Functions

setFlashLoanFeePercentage(newFlashLoanFeePercentage: uint256) nonpayable

Parameters

Name Type Description
newFlashLoanFeePercentage uint256
setSwapFeePercentage(newSwapFeePercentage: uint256) nonpayable

Parameters

Name Type Description
newSwapFeePercentage uint256
withdrawCollectedFees(tokens: address[], amounts: uint256[], recipient: address) nonpayable

Parameters

Name Type Description
tokens address[]
amounts uint256[]
recipient address

Events

FlashLoanFeePercentageChanged(newFlashLoanFeePercentage: uint256)
Name Type Indexed Description
newFlashLoanFeePercentage uint256
SwapFeePercentageChanged(newSwapFeePercentage: uint256)
Name Type Indexed Description
newSwapFeePercentage uint256