Rewards Collector
The Rewards Collector Contract provides all the needed methods to withdraw generated fees and revenue from the Mars Protocol. It also handles swapping the collected revenue/fees to a specified asset.
Deployments
Types
Queries
config
{
config: {}
}{
data: {
address_provider: string
channel_id: string
fee_collector_config: {
target_denom: string
transfer_type: 'ibc' | 'bank'
}
owner?: string | null
proposed_new_owner?: string | null
revenue_share_config: {
target_denom: string
transfer_type: 'ibc' | 'bank'
}
revenue_share_tax_rate: Decimal
safety_fund_config: {
target_denom: string
transfer_type: 'ibc' | 'bank'
}
safety_tax_rate: Decimal
slippage_tolerance: Decimal
timeout_seconds: number
}
}Methods
Last updated