FixedSwap

Verified contract

Active on Base with 5,292 txns
Deployed by via 0xa49fefee at 18197162
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x5139c6aac0907095f66f731938d6fb207a1727749c09a62534f9d4cf7f4263c6
0x0cb176988fb429960436566e03419b29f178a81a7de28cc8168d960239b75ef4
0x5576cbf02701e0d8048095968d0e62ca7c0ce717a58d42f2ed809d18b936c8b8
0x474fca0b7d251fcab50a121e52f47b6e0544c705106dd28b1b2ad92a05a6159d
0xdd0d2a79641e7c1059ed97e19a3b2647ad39ee7aa8dc940f94dd186d735857f7
0x4d153f014732386bc60daeb49e3291e6a473f4118f26424ba3e1579e183d65da
0xe69265ad252dce7f264cf1db634665a36261b201907d4810c876ac00448fc928
0x444ca374fa527100e0e798647b9e86d8f4943cbac3afa63dc25a47bb8e49fdd1
0x732b43e7a60546c556e8236f959b896f827dd3f9e098a1882fad219a69ff2918
0x1909a3892bacd47f00ba5b656b9827761547b38b3c6be123c8277d4803bb07c3

Functions
Getter at block 23198679
nominatedOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x9ad88dccbb5eba1f0e7ae8a2c26fac65011205dd
poolsCount(view returns (uint256)
5
whitelist(view returns (address)
0x4e0f88b939631df15d2d549d7f0349d85d7fe030
Read-only
collectedFees(address tokenview returns (uint256)
intervalPoolAccount(uint256 poolIndexaddress address_view returns (struct FixedSwapAccountState statestruct FixedSwapComplexAccountState complexuint256 unlockedIntervalsCount)
intervalPoolProps(uint256 poolIndexview returns (struct FixedSwapProps propsstruct AttoDecimalInstance immediatelyUnlockingPartstruct FixedSwapInterval[] intervals)
linearPoolAccount(uint256 poolIndexaddress address_view returns (struct FixedSwapAccountState statestruct FixedSwapComplexAccountState complexuint256 immediatelyUnlockedAmount)
linearPoolProps(uint256 poolIndexview returns (struct FixedSwapProps propsstruct AttoDecimalInstance immediatelyUnlockingPartstruct FixedSwapLinearProps linear)
poolAccount(uint256 poolIndexaddress address_view returns (uint8 type_struct FixedSwapAccountState state)
poolProps(uint256 poolIndexview returns (uint8 type_struct FixedSwapProps props)
poolState(uint256 poolIndexview returns (struct FixedSwapState state)
State-modifying
acceptOwnership(returns (bool success)
acceptPoolOwnership(uint256 poolIndexreturns (bool success)
changeWhitelistAddress(address _newWhitelistAddress
collectFee(uint256 poolIndexreturns (bool success)
createIntervalPool(struct FixedSwapProps propsuint256 paymentLimitaddress owner_struct AttoDecimalInstance immediatelyUnlockingPartstruct FixedSwapInterval[] intervalsreturns (bool successuint256 poolIndex)
createLinearPool(struct FixedSwapProps propsuint256 paymentLimitaddress owner_struct AttoDecimalInstance immediatelyUnlockingPartuint256 linearUnlockingEndsAtreturns (bool successuint256 poolIndex)
createSimplePool(struct FixedSwapProps propsuint256 paymentLimitaddress owner_returns (bool successuint256 poolIndex)
increaseIssuance(uint256 poolIndexuint256 amountreturns (bool success)
nominateNewOwner(address owner_returns (bool success)
nominateNewPoolOwner(uint256 poolIndexaddress nominatedOwner_returns (bool success)
swap(uint256 poolIndexuint256 requestedPaymentAmountreturns (uint256 paymentAmountuint256 issuanceAmount)
unlockInterval(uint256 poolIndexuint256 intervalIndexreturns (uint256 withdrawnIssuanceAmount)
unlockLinear(uint256 poolIndexreturns (uint256 withdrawalAmount)
withdrawFee(address tokenreturns (bool success)
withdrawPayments(uint256 poolIndexreturns (bool success)
withdrawUnsold(uint256 poolIndexreturns (bool success)
Events
AccountLimitChanged(uint256 indexed poolIndexaddress indexed address_uint256 indexed limitIndex
FeeWithdrawn(address indexed tokenuint256 amount
ImmediatelyUnlockingPartUpdated(uint256 indexed poolIndexuint256 mantissa
IntervalCreated(uint256 indexed poolIndexuint256 startsAtuint256 unlockingPart
IssuanceIncreased(uint256 indexed poolIndexuint256 amount
LinearPoolUnlocking(uint256 indexed poolIndexaddress indexed accountuint256 amount
LinearUnlockingEndingTimestampUpdated(uint256 indexed poolIndexuint256 timestamp
OwnerChanged(address indexed newOwner
OwnerNominated(address indexed nominatedOwner
PaymentLimitChanged(uint256 indexed poolIndexuint256 indexed limitIndexuint256 newLimit
PaymentLimitCreated(uint256 indexed poolIndexuint256 indexed limitIndexuint256 limit
PaymentUnlocked(uint256 indexed poolIndexuint256 unlockedAmountuint256 collectedFee
PaymentsWithdrawn(uint256 indexed poolIndexuint256 amount
PoolCreated(uint8 type_address indexed paymentTokenaddress indexed issuanceTokenuint256 poolIndexuint256 issuanceLimituint256 startsAtuint256 endsAtuint256 feeuint256 rateuint256 paymentLimit
PoolOwnerChanged(uint256 indexed poolIndexaddress indexed newOwner
PoolOwnerNominated(uint256 indexed poolIndexaddress indexed nominatedOwner
Swap(uint256 indexed poolIndexaddress indexed calleruint256 requestedPaymentAmountuint256 paymentAmountuint256 issuanceAmount
UnsoldWithdrawn(uint256 indexed poolIndexuint256 amount
WhitelistContractChanged(address oldAddressaddress newAddress
Constructor
constructor(address owner_address whitelistContract_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.