Contracts

Same in all Networks

Contract name
Address

SPLX Token

0xA26710B65D505b6f85ECB418b073A4A67586DEdD

veSPLX NFT

0x71DCdf11c1aD7a25c942F9E6c22B495b1F456F84

Split Router

0xb0C1921fA527d8E6c5a6CF743c4323C8ABbcC773

Contract methods

ERC20 Token Functions

Function
Type
Return
Description

name()

read

string

This function return the name of the token.

decimals()

read

uint8

This function return the decimal of the token.

symbol()

read

string

This function return the symbol of the token.

totalSupply()

read

uint256

This function returns the total supply of tokens.

balanceOf(address account)

read

uint256

This function returns the token balance of a specified account.

allowance(address owner, address spender)

read

uint256

This function returns the allowance granted by a token owner to a spender.

transfer(address recipient, uint256 amount)

write

bool

This function transfers tokens from the sender's account to the recipient's account.

transferFrom(address sender, address recipient, uint256 amount)

write

bool

This function allows a spender to transfer tokens on behalf of the token owner.

approve(address spender, uint256 amount)

write

bool

This function allows a spender to spend tokens from the sender's account.

increaseAllowance(address spender, uint256 addedValue)

write

bool

This function increases the allowance of a spender.

decreaseAllowance(address spender, uint256 subtractedValue)

write

bool

This function decreases the allowance of a spender.

burn(uint256 amount)

write

bool

This function burns (destroys) tokens from the sender's account.

Bridge Transfer Functions

Function
Type
Return
Description

bridgeTransfer(address recipient, uint256 amount, uint256 destChainID)

write (payable)

bool

This function allows the sender to burn tokens and send them to another chain for bridging. It emits the BridgeTransferSent event and uses the ICallProxy contract to initiate the bridging process.

bridgeTransferFrom(address sender, address recipient, uint256 amount, uint256 destChainID)

write (payable)

bool

This function is similar to bridgeTransfer, but it allows the router contract to initiate the transfer on behalf of a sender. It also checks and updates the allowance of the spender.

Last updated