Pool Factory
pool_factory
Interface
getPoolFactoryData
(address, address, int, cell, cell) getPoolFactoryData ()
This function provides current state of the user account
Return Values
0
address
admin_address Address of the admin of this Pool Factory
1
address
router_address Address of the router that this Pool Factory is attached to
2
int
ton_price Amount of ton taken as fee during Pool Creation (so far usually 0)
3
cell
nftContent Content of Pool that would be presented as Nft Collection
4
cell
nftItemContent Content of Position NFT that would be presented as NFT
getWhitelist
(dict) getWhitelist ()
This function provides current whitelist of the wallets that are allowed to get more granular control on creation.
Return Values
0
dict
whitelist Dictionary with whitelist of the Pool Factory
Messages
POOL_FACTORY_CREATE_POOL
Opcode : 0x9e9a8f7f
Message that initiates pool creation
op
Uint(32),op
query_id
Uint(64)
queryid as of the TON documentation
jetton0Minter
Address(267)
Minter address of the first jetton
jetton1Minter
Address(267)
Minter address of the second jetton
initial_priceX96
Uint(160),PriceX96
Initial price for the pool
settings
Uint(16)
Value that describes pool configuration preset
0
Cell(0) wallet_cell
Cell With Wallets.
0
jetton0Wallet
Address(267)
Address of the jetton0 wallet of the Router
0
jetton1Wallet
Address(267)
Address of the jetton1 wallet of the Router
1
Cell(0) settings_cell
Cell With Settings for Whitelisted
1
fee
Uint(16)
1
tickSpacing
Uint(24)
1
active
Uint(1),Boolean
1
nftContent
Cell(1),Maybe
Last updated