V2Factory
The Factory smart contract oversees the full functionality of token pair registration and transactions in KLAYswap. It is also a token contract for KLAYswap's KSP governance token that complies with the KIP7 standard, and a smart contract that implements all functions related to KSP mining.
Code
Github Link: (Will be updated after official launch)
Address
Events, Read-Only Functions, and State-Changing Functions
Events
CreatePool
event CreatePool(
address token0,
uint256 amount0,
address token1,
uint256 amount1,
uint256 fee,
address exchange,
uint256 exid
);
Event to create new liquidity pool
parameters
token0
: token0 address in pairamount0
: token0 amount in pooltoken1
: token1 address in pairamount1
: token1 amount in poolfee
: pool fee rate exchange :exchange
: contract address of this poolexid
: exchange id
Last updated