TradesFun

Verified contract

Active on Ethereum with 49 txns
Deployed by via 0x242f3b82 at 20700211
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 127 additional slots
Native
Value $596.91
ERC-20
--
ERC-20
--
0xf1b8275f41ca4d3ee86f2ffc22f89fad2ecb4d5a23d33ddf15ab3486afc29a01
0xbcebbe689a4537084b8ab6357d8421608b9f46d5321c3332218ea3d0c7932829
0x7f0452687a2b91cdbcaa84d45e89642317b3c13c9ee3a16afc5cb7dca4fdc55a
0x45a4daf9f2c388c1e3c9575b144dc90a403c4869b461d6eb57091dc0ca00c723
0x65ef4bdff0428e71e1b4c2c55dde3853a529c49467655e11ab5924482bc16e09
0xcb3814269ffe76ea6a2cfdeadbd2160a70bcd8c1ee3b66f1e51bfb40f67082ea
0x3ab20e1d7fcffc656fdf9bfa9f695b7a92a2058b9f3583a82a6d108b24b238fc
0x1deb2f5699bf06638102cc9265496f146b6f2599db9dc839c8fa9e8c96032945
0xad129e6372ba948811a6af78c13283341408a7726bd423155d43493100b5806c
0x2cdbd961a06f80936350d728be2fb6d9f892712741d5d9e88935939632921fd6

Functions
Getter at block 21223185
CREATION_FEE(view returns (uint256)
10000000000000000
LISTING_FEE(view returns (uint256)
1000000000000000000
MAX_POOL_ETHER(view returns (uint256)
16504000000000000000
MAX_POOL_TOKEN(view returns (uint256)
1000000000000000000000000000
START_POOL_ETHER(view returns (uint256)
504000000000000000
START_POOL_TOKEN(view returns (uint256)
175000000000000000000000000
TRADING_FEE_DIVISOR(view returns (uint256)
1000000
TRADING_FEE_PERCENT(view returns (uint256)
5000
 
getPools(view returns (struct TradesFunPoolDetail[])
getTokens(view returns (address[])
[0x3216baFcBd65Dcae2f41674C109921e868827aCd, 0x934d7E7F582412f893390C58BD9103cb9dB6fbB1]
owner(view returns (address)
0xd622f338488c27e7d0b69c530f4fc1e897edbd99
pcs_router(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
reserveRatio(view returns (uint256)
500000
version(view returns (string)
0.3
Read-only
calculateCurvedBurnReturn(address _tokenuint256 _amountview returns (uint256 burnAmount)
calculateCurvedMintReturn(address _tokenuint256 _amountview returns (uint256 mintAmount)
calculatePoolSettings(uint256 _start_tokenuint256 _start_etheruint256 _max_etherview returns (uint256)
calculatePurchaseReturn(uint256 _supplyuint256 _connectorBalanceuint32 _connectorWeightuint256 _depositAmountview returns (uint256)
calculateSaleReturn(uint256 _supplyuint256 _connectorBalanceuint32 _connectorWeightuint256 _sellAmountview returns (uint256)
getPool(address _tokenview returns (struct TradesFunPoolDetail pooldetailstruct TradesFunTransaction[] translistuint256 pool_balanceuint256 current_supplybool listed)
getTransactions(address _tokenview returns (struct TradesFunTransaction[])
pool_listed(addressview returns (bool)
State-modifying
buy(address _tokenpayable 
createPool(string _namestring _symbolstring _detailpayable 
renounceOwnership(
sell(address _tokenuint256 _amount
transferOwnership(address newOwner
updateFee(uint256 _creation_fee
updatePoolSettings(uint256 _start_tokenuint256 _start_etheruint256 _max_etheruint256 _listing_fee
updateTradingFeePercent(uint256 _fee
Events
CurvedBurn(address indexed tokenaddress indexed senderuint256 amountuint256 deposituint256 timestamp
CurvedMint(address indexed tokenaddress indexed senderuint256 amountuint256 deposituint256 timestamp
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolCreated(address indexed tokenaddress owner
Constructor
constructor(address _pcs_router
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.