ChannelSharesV1

Verified contract

Active on Base with 42,059 txns
Deployed by via 0xf90ec32f at 5640812
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $36,482.09
ERC-20
Value $0.1
ERC-20
Value $0.1
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x9f903492ab985a79e46f1af8b01318e096b56c490cd10dd607af37382f5ecaaf
0xa946713f23e19dbc0ecfcb024279352f2c3bd949e7fe683849c8e28601edb8d7
0xfd13eb2c08537bffcc0cb02f02da2c47dc306250f656df6d620979ceaeeb3d2d
0x68692188c6a2231f63af5e9083eac2b3d85ab92175de6799e657f672bc466918
0x2aa5e3eb85e13f3318e18901bfae7f26cba43347ac0f323fa7a2bc5d5f30439c
0xefe008451f84d8ae2657298c6bcfa38213250e44b0693a770cec729aa09f2155
0x0e21ca1c7f7a57a8024070aae283f0d27b64819368825837d975b0122ee96b29
0x6ad40996026752ba7f8649c23f071273f6bdb7466d794095f54249e46d6f62e5
0x881eecc1ba5ad2a3f1dcfc6d74c97a62fb58e974b658e57cf12c725519fbd772
0xf667b4caf0ea8e481e88cd2af3166e74942c0a2e82e34396657ed316d445185f

Functions
Getter at block 22751266
channelCreationFee(view returns (uint256)
0
channelFeePercent(view returns (uint256)
50000000000000000
currentChannelId(view returns (uint256)
3671
owner(view returns (address)
0xaf3a8b053b263e7608571cc931cc56385e522397
protocolFeeDestination(view returns (address)
0xfb38506760c40367e323ae7348f96150e70f410d
protocolFeePercent(view returns (uint256)
50000000000000000
Read-only
channelCreator(uint256view returns (address)
channelFeePerShare(uint256view returns (uint256)
channelLastRewardBlock(uint256view returns (uint256)
channelTotalSupply(uint256view returns (uint256)
getBuyPrice(uint256 channelIduint256 amountview returns (uint256)
getBuyPriceAfterFee(uint256 channelIduint256 amountview returns (uint256)
getBuyPriceAfterFeeAndDiscount(uint256 channelIduint256 amountaddress userview returns (uint256)
getPrice(uint256 supplyuint256 amountview returns (uint256)
getSellPrice(uint256 channelIduint256 amountview returns (uint256)
getSellPriceAfterFee(uint256 channelIduint256 amountview returns (uint256)
pendingFees(uint256 channelIdaddress userview returns (uint256)
userBalance(uint256addressview returns (uint256)
userLastFeeDebt(uint256addressview returns (uint256)
State-modifying
buyShares(uint256 channelIduint256 amountpayable 
registerChannel(payable returns (uint256)
renounceOwnership(
sellShares(uint256 channelIduint256 amountpayable 
setChannelCreationFee(uint256 _fee
setChannelFeePercent(uint256 _feePercent
setFeeDestination(address _feeDestination
setProtocolFeePercent(uint256 _feePercent
transferOwnership(address newOwner
withdrawChannelFees(uint256 channelId
Events
ChannelCreated(address channelCreatoruint256 channelId
FeesWithdrawn(address useruint256 channelIduint256 ethAmountuint256 userFeeDebt
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Trade(address traderuint256 channelIdbool isBuyuint256 shareAmountuint256 totalSharesuint256 ethAmountuint256 protocolEthAmountuint256 channelEthAmountuint256 totalSupplyuint256 channelFeePerShare
Constructor
constructor(address _protocolFeeDestination
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.