SilicaPools

Verified contract

Active on Ethereum with 3,393 txns
Deployed by via 0x9a165466 at 20307036
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $90,381.35
0xe8ae1f9a415bf88a15e55eaea1543d29bd36dbe6d3993c01ad241061194675f0
0xcabe1d19d83a3ffa9f0c3f4636452592c9cb60bdfb74044bb950eab22ba3b141
0xba2598eaf431aebb4aa79ddf94ed2e23e65abc082370441fbefdbcbe8bd2f549
0xb31967f97b2e3df02f569851d44149e2f1ce91f97dd40e1723e2fde97426b652
0x504057a41ec2918cccf095c2bf3e8076f6a394378c1567274a7db964195d5271
0x8b0d014650a7b837f56c103a35f487a0d3033e1892ed536553df5822437d1a42
0xee295d9f83835702e92c5ccd846c85b6d2100b1183a24019548ea9f020ef44d4
0x4c5d64c02b8f03b5c6dc8d9b0d2cf3f223bff5013b6b59c8b747c143dd1c809e
0x3460da3dae2076b890b9375582e97a3702974c3ee437b82cf108a5e78555e5fe
0x1af90176a495b998723cab7420ee5f3f7fba5f317b6171e96e2fb4a7b60cfa23

Functions
Getter at block 20986199
INVERSE_BASIS_POINT(view returns (uint256)
10000
MAX_FILL_FEE_BPS(view returns (uint256)
1000
TOKENID_SALT(view returns (bytes32)
0x000000000000000000000000000000000000000000000000000000000000ac1d
bountyFractionIncreasePerSecond(view returns (uint256)
14000000000000
bountyGracePeriod(view returns (uint256)
300
domainSeparatorV4(view returns (bytes32)
0x7e277258916e84c28af41fc76a007f0fde5f7a7b415ff4d45e00ae59ec225a11
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=SilicaPools, version=1, chainId=1, verifyingContract=0xf3f84ce038442ae4c4dcb6a8ca8bacd7f28c9bde, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fillFeeBps(view returns (uint256)
50
maxBountyFraction(view returns (uint256)
0
owner(view returns (address)
0x3bd5f5f368bdfdb86b0513b36b80569b7c90555c
paused(view returns (bool)
false
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
sBountyFractionIncreasePerSecond(view returns (uint256)
14000000000000
sBountyGracePeriod(view returns (uint256)
300
sMaxBountyFraction(view returns (uint256)
0
treasuryAddress(view returns (address)
0x3bd5f5f368bdfdb86b0513b36b80569b7c90555c
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
endBounty(struct ISilicaPoolsPoolParams[] poolParamsview returns (uint256[])
fromLongTokenId(uint256 longTokenIdpure returns (bytes32)
fromShortTokenId(uint256 shortTokenIdpure returns (bytes32)
hashOrder(struct ISilicaPoolsSilicaOrder orderbytes32 domainSeparatorpure returns (bytes32)
hashPool(struct ISilicaPoolsPoolParams poolParamspure returns (bytes32)
isApprovedForAll(address accountaddress operatorview returns (bool)
orderCancelled(bytes32 orderHashview returns (bool)
poolState(bytes32 poolHashview returns (struct ISilicaPoolsPoolState)
startBounty(struct ISilicaPoolsPoolParams[] poolParamsview returns (uint256[])
supportsInterface(bytes4 interfaceIdview returns (bool)
toLongTokenId(bytes32 poolHashpure returns (uint256)
toShortTokenId(bytes32 poolHashpure returns (uint256)
uri(uint256view returns (string)
viewCollateralRefund(struct ISilicaPoolsPoolParams[] poolParamsuint256[] sharesview returns (uint256[] expectedRefunds)
viewMaxCollateralRefund(struct ISilicaPoolsPoolParams[] poolParamsaddress[] accountsview returns (uint256[] expectedRefund)
viewRedeemLong(struct ISilicaPoolsPoolParams longParamsaddress accountview returns (uint256 expectedPayout)
viewRedeemShort(struct ISilicaPoolsPoolParams shortParamsaddress accountview returns (uint256 expectedPayout)
State-modifying
acceptOwnership(
cancelOrders(struct ISilicaPoolsSilicaOrder[] orders
collateralRefund(struct ISilicaPoolsPoolParams[] poolParamsuint256[] shares
collateralizedMint(struct ISilicaPoolsPoolParams poolParamsbytes32 orderHashuint256 sharesaddress longRecipientaddress shortRecipient
endPool(struct ISilicaPoolsPoolParams poolParams
endPools(struct ISilicaPoolsPoolParams[] poolParams
fillOrder(struct ISilicaPoolsSilicaOrder orderbytes signatureuint256 fraction
fillOrders(struct ISilicaPoolsSilicaOrder[] ordersbytes[] signaturesuint256[] fractions
maxCollateralRefund(struct ISilicaPoolsPoolParams[] poolParams
pause(
redeem(struct ISilicaPoolsPoolParams[] longPoolParamsstruct ISilicaPoolsPoolParams[] shortPoolParams
redeemLong(struct ISilicaPoolsPoolParams longParams
redeemShort(struct ISilicaPoolsPoolParams shortParams
renounceOwnership(
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] valuesbytes data
safeTransferFrom(address fromaddress touint256 iduint256 valuebytes data
setApprovalForAll(address operatorbool approved
setBountyFractionIncreasePerSecond(uint256 newIncreaseAmount
setBountyGracePeriod(uint256 newGracePeriod
setFillFeeBps(uint256 newFillFeeBps
setMaxBountyFraction(uint256 newMaxFraction
setTreasuryAddress(address newTreasury
startPool(struct ISilicaPoolsPoolParams poolParams
startPools(struct ISilicaPoolsPoolParams[] poolParams
transferOwnership(address newOwner
unpause(
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
EIP712DomainChanged(
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SilicaPools__BountyIncreaseRateChanged(uint256 newRate
SilicaPools__BountyPaid(bytes32 indexed poolHashuint256 bountyAmountaddress receiver
SilicaPools__CollateralizedMint(bytes32 indexed poolHashbytes32 indexed orderHashaddress shortRecipientaddress longRecipientaddress indexed payeraddress payoutTokenuint256 sharesMinteduint256 collateralAmount
SilicaPools__FillFeeChanged(uint256 newFeeBps
SilicaPools__FillFeePaid(address indexed payerbytes32 indexed poolHashbytes32 indexed orderHashuint256 tokenIdaddress tokenPaiduint256 amount
SilicaPools__GracePeriodChanged(uint256 newGracePeriod
SilicaPools__MaxBountyFractionChanged(uint256 newMaxFraction
SilicaPools__OrderCancelled(bytes32 indexed orderHash
SilicaPools__PauseProtocol(
SilicaPools__PoolEnded(bytes32 indexed poolHashuint256 endingIndexBalanceuint128 balanceChangePerShare
SilicaPools__PoolStarted(bytes32 indexed poolHashuint128 flooruint128 capuint48 targetStartTimeuint48 targetEndTimeaddress indexed indexaddress indexed payoutTokenuint128 indexSharesuint128 indexInitialBalance
SilicaPools__SharesRedeemed(bytes32 indexed poolHashaddress indexed recipientaddress indexed payoutTokenuint256 tokenIduint256 sharesRedeemeduint256 payoutTokenAmount
SilicaPools__SharesRefunded(bytes32 indexed poolHashaddress indexed recipientaddress indexed payoutTokenuint256 sharesRefundeduint256 payoutTokenAmount
SilicaPools__TradeHistoryEvent(bytes32 indexed orderHashaddress indexed makeraddress indexed takerbytes32 offeredPoolHashbytes32 requestedPoolHashaddress offeredIndexaddress requestedIndexuint256 filledFractionuint256 remainingFraction
SilicaPools__TreasuryAddressChanged(address newTreasuryAddress
SilicaPools__UnpauseProtocol(
SilicaPools__VolumeAccountingEvent(bytes32 indexed orderHashbytes32 poolHashaddress indexed indexaddress payoutTokenuint256 capMinusFlooruint256 sharesMinteduint256 sharesTransferredaddress indexed upfrontTokenAddruint256 upfrontTokenAmount
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(uint256 startFeeBpsaddress initialOwneraddress alkimiyaTreasuryuint256 gracePerioduint256 maxBountyFracuint256 bountyIncreasePerSecond
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC1155InsufficientBalance(address senderuint256 balanceuint256 neededuint256 tokenId
ERC1155InvalidApprover(address approver
ERC1155InvalidArrayLength(uint256 idsLengthuint256 valuesLength
ERC1155InvalidOperator(address operator
ERC1155InvalidReceiver(address receiver
ERC1155InvalidSender(address sender
ERC1155MissingApprovalForAll(address operatoraddress owner
FailedInnerCall(
InvalidShortString(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
SilicaPools__ArrayLengthMismatch(
SilicaPools__InvalidCaller(address calleraddress expectedCaller
SilicaPools__InvalidSignature(bytes signature
SilicaPools__OrderExpired(uint256 expiryuint256 blockTimestamp
SilicaPools__OrderIsCancelled(bytes32 orderHash
SilicaPools__PartialOrdersNotSupported(bytes32 orderHash
SilicaPools__Paused(
SilicaPools__PoolAlreadyEnded(bytes32 poolHash
SilicaPools__PoolAlreadyStarted(bytes32 poolHash
SilicaPools__PoolNotEnded(bytes32 poolHash
SilicaPools__TooEarlyToEnd(uint256 attemptedTimestampuint256 targetTimestamp
SilicaPools__TooEarlyToStart(uint256 attemptedTimestampuint256 targetTimestamp
StringTooLong(string str