Skip to main content

INevellusSwapPair

Methods

DOMAIN_SEPARATOR

function DOMAIN_SEPARATOR() external view returns (bytes32)

Returns

NameTypeDescription
_0bytes32undefined

MINIMUM_LIQUIDITY

function MINIMUM_LIQUIDITY() external pure returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

PERMIT_TYPEHASH

function PERMIT_TYPEHASH() external pure returns (bytes32)

Returns

NameTypeDescription
_0bytes32undefined

allowance

function allowance(address owner, address spender) external view returns (uint256)

Parameters

NameTypeDescription
owneraddressundefined
spenderaddressundefined

Returns

NameTypeDescription
_0uint256undefined

approve

function approve(address spender, uint256 value) external nonpayable returns (bool)

Parameters

NameTypeDescription
spenderaddressundefined
valueuint256undefined

Returns

NameTypeDescription
_0boolundefined

balanceOf

function balanceOf(address owner) external view returns (uint256)

Parameters

NameTypeDescription
owneraddressundefined

Returns

NameTypeDescription
_0uint256undefined

burn

function burn(address to) external nonpayable returns (uint256 amount0, uint256 amount1)

Parameters

NameTypeDescription
toaddressundefined

Returns

NameTypeDescription
amount0uint256undefined
amount1uint256undefined

decimals

function decimals() external pure returns (uint8)

Returns

NameTypeDescription
_0uint8undefined

factory

function factory() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

getReserves

function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)

Returns

NameTypeDescription
reserve0uint112undefined
reserve1uint112undefined
blockTimestampLastuint32undefined

initialize

function initialize(address, address) external nonpayable

Parameters

NameTypeDescription
_0addressundefined
_1addressundefined

kLast

function kLast() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

mint

function mint(address to) external nonpayable returns (uint256 liquidity)

Parameters

NameTypeDescription
toaddressundefined

Returns

NameTypeDescription
liquidityuint256undefined

name

function name() external pure returns (string)

Returns

NameTypeDescription
_0stringundefined

nonces

function nonces(address owner) external view returns (uint256)

Parameters

NameTypeDescription
owneraddressundefined

Returns

NameTypeDescription
_0uint256undefined

permit

function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external nonpayable

Parameters

NameTypeDescription
owneraddressundefined
spenderaddressundefined
valueuint256undefined
deadlineuint256undefined
vuint8undefined
rbytes32undefined
sbytes32undefined

price0CumulativeLast

function price0CumulativeLast() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

price1CumulativeLast

function price1CumulativeLast() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

skim

function skim(address to) external nonpayable

Parameters

NameTypeDescription
toaddressundefined

swap

function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) external nonpayable

Parameters

NameTypeDescription
amount0Outuint256undefined
amount1Outuint256undefined
toaddressundefined
databytesundefined

symbol

function symbol() external pure returns (string)

Returns

NameTypeDescription
_0stringundefined

sync

function sync() external nonpayable

token0

function token0() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

token1

function token1() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

totalSupply

function totalSupply() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

transfer

function transfer(address to, uint256 value) external nonpayable returns (bool)

Parameters

NameTypeDescription
toaddressundefined
valueuint256undefined

Returns

NameTypeDescription
_0boolundefined

transferFrom

function transferFrom(address from, address to, uint256 value) external nonpayable returns (bool)

Parameters

NameTypeDescription
fromaddressundefined
toaddressundefined
valueuint256undefined

Returns

NameTypeDescription
_0boolundefined

Events

Approval

event Approval(address indexed owner, address indexed spender, uint256 value)

Parameters

NameTypeDescription
owner indexedaddressundefined
spender indexedaddressundefined
valueuint256undefined

Burn

event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

Parameters

NameTypeDescription
sender indexedaddressundefined
amount0uint256undefined
amount1uint256undefined
to indexedaddressundefined

Mint

event Mint(address indexed sender, uint256 amount0, uint256 amount1)

Parameters

NameTypeDescription
sender indexedaddressundefined
amount0uint256undefined
amount1uint256undefined

Swap

event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

Parameters

NameTypeDescription
sender indexedaddressundefined
amount0Inuint256undefined
amount1Inuint256undefined
amount0Outuint256undefined
amount1Outuint256undefined
to indexedaddressundefined

Sync

event Sync(uint112 reserve0, uint112 reserve1)

Parameters

NameTypeDescription
reserve0uint112undefined
reserve1uint112undefined

Transfer

event Transfer(address indexed from, address indexed to, uint256 value)

Parameters

NameTypeDescription
from indexedaddressundefined
to indexedaddressundefined
valueuint256undefined