Contracts

Same in all Networks

Contract nameAddress

SPLX Token

0xA26710B65D505b6f85ECB418b073A4A67586DEdD

veSPLX NFT

0x71DCdf11c1aD7a25c942F9E6c22B495b1F456F84

Split Router

0xe47085AaA1dc8122f5A1f623068967b3bc92782c

Contract methods

FunctionTypeReturnDescription

getOrderHistoryPagesCount(address trader)

read

uint256

Calculates the number of pages in the order history for a given trader.

getOrderHistoryPage(uint256 pageID, address trader)

read

(uint256[] volumes, uint256[] amountsOut, uint256[] orderTypes, address[] fromTokens, address[] toTokens)

Retrieves a specific page of the order history for a given trader.

wrap()

write (payable)

void

Wraps ETH into Wrapped Ether (WETH) tokens.

unwrap(uint256 volume)

write

void

Unwraps a specified volume of Wrapped Ether (WETH) tokens into ETH.

swapETH(bytes calldata dataBytes, bytes calldata chainBytes)

write (payable)

void

Swaps ETH for another token using a specified swap router. It also checks for arbitrage opportunities and executes additional transactions if profitable.

swap(bytes calldata dataBytes, bytes calldata chainBytes)

write

void

Swaps tokens for another token using a specified swap router. It also checks for MEV opportunities and executes additional transactions if profitable.

Last updated