xWin Split Fee Wallet

xWin Finance has a smart contract that we deploy for every strategy that is partnered with funds. This smart contract will collect the fees where the smart contract divides the fee between our partner and xWin.

xWinSplitFeeWallet

Manager

struct Manager {
  address managerAddress;
  uint256[] ratio;
}

managers

struct xWinSplitFeeWallet.Manager[] managers

tokens

address[] tokens

emitEvent

contract IxWinEmitEvent emitEvent

startBlock

uint256 startBlock

period

initialize

restateManagers

resets the manager information

Parameters

Name
Type
Description

_managers

struct xWinSplitFeeWallet.Manager[]

Array of manager addresses and their ratio

distributeFees

distributes the fees to all the managers

addToken

Adds a new token to be tracked by this contract

Parameters

Name
Type
Description

_token

address

token address

removeToken

updateEventEmitter

updateStartBlock

setPeriod

tokenLength

managersLength

managerAll

managerRatio

Last updated