OTSea

Verified contract

Active on Ethereum with 1,177 txns
Deployed by via 0xd0a32dbf at 19670663
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $781.76
ERC-20
Value $5,615.31
ERC-20
Value $2,146.26
ERC-20
Value $695.28
ERC-20
Value $363.2
ERC-20
Value $28.81
ERC-20
Value $5.32
ERC-20
Value $0.13
ERC-20
Value $0
ERC-20
--
0xa0059b658d236efd70e690123932b9e70260a5222b452502f2417a00d3648ba2
0x74429842f8256c76a8f889b0611108b47aa19e5bd708a97f8c44b0f53c7bad34
0xcdfca853feb830f490213403891abf2485b3dee0216137a5170cab0cde09a3d7
0xed8ca13323071e678809c4d1b0e33c1c6abae81551a4b94da5d2af5c5858a66c
0x01e202b9f21226282c6cfd1847627d1e95d74a20a7e31643cca57ae29568ec0a
0x0072f25d5e16061b60cdde553061aaebf8cb496e21eea6ccdbe3f4a6fedfbb91
0x8b5e89f592031eedb412756a66e4d4b94d2d5f8576daf851ef59065bd577c6bb
0x0222dfa0f0a66a578e18c40c2c0fcba78d366a4588a2c24a1aaa6a89f83962c3
0xeb3c64c68fbb8f1cbd6ef7ba211251318fe0046ef4e56403efa991bc5e0ae1d7
0xed7580ee9eb2f640471b79d0166148d83c5f28e692f17e5be9f3576b2899b781

Functions
Getter at block 21177807
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=OTSea, version=v1.0.0, chainId=1, verifyingContract=0x6e8b67b315b44519f8c2befdbbe11097c45353b4, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getFees(view returns (uint8 fishFeeuint8 whaleFeeuint16 partnerFee)
(fishFee=100, whaleFee=30, partnerFee=3000)
getLockupPeriod(view returns (uint16)
300
getMaxTrades(view returns (uint8)
10
getTotalOrders(view returns (uint72)
432
owner(view returns (address)
0x0adedc7487c59ece60178cf69b8df7e3c4730d90
paused(view returns (bool)
false
signer(view returns (address)
0x84cf61259efb32244258c0ab910ab4f11e13842b
Read-only
checkIsWhitelisted(address _accountuint72 _idview returns (bool)
checkMultipleIsWhitelisted(address _accountuint72[] _idsview returns (bool[] isWhitelisted)
getLockUps(address _accountuint256[] _indexesview returns (struct OTSeaLockUp[] lockUps)
getMaroonedETH(address _accountview returns (uint256)
getOrder(uint72 _orderIDview returns (struct OTSeaOrder order)
getOrdersByIDs(uint72[] _orderIDsview returns (struct OTSeaOrder[] orders)
getOrdersInSequence(uint256 _startuint256 _endview returns (struct OTSeaOrder[] orders)
getPartner(address _tokenview returns (struct OTSeaPartner)
getTotalLockUps(address _accountview returns (uint256)
getTotalWhitelisted(uint72 _idview returns (uint256)
getWhitelist(uint72 _iduint256 _startuint256 _endview returns (address[] whitelist)
isAccountBlacklisted(address _accountview returns (bool)
isOrderBlacklisted(uint72 _orderIDview returns (bool)
State-modifying
blacklistAccount(address _accountbool _operation
cancelOrders(uint72[] _orderIDs
cancelTokenOrders(address _tokenuint72[] _orderIDs
claimLockUpByToken(address _tokenaddress _receiverstruct OTSeaClaimLockUp[] _claims
claimLockUps(address _receiverstruct OTSeaClaimLockUp[] _claims
claimMaroonedETH(address _receiver
createBuyOrder(struct OTSeaNewOrder _newOrderaddress[] _whitelistpayable 
createSellOrder(struct OTSeaNewOrder _newOrderaddress[] _whiteliststruct OTSeaFeeDetailsSignature _feeDetailsSignature
pauseContract(
renounceOwnership(
setFees(uint8 _newFishFeeuint8 _newWhaleFeeuint16 _newPartnerFee
setLockupPeriod(uint16 _time
setMaxTrades(uint8 maxTrades_
setRevenueDistributor(address revenueDistributor_
setSigner(address _signer
swapETHForTokens(address _tokenstruct OTSeaTrade[] _tradesstruct OTSeaNewOrder _newOrderbool _allowLockUpsuint16 _expectedLockupPeriodpayable 
swapTokensForETH(address _tokenstruct OTSeaTrade[] _tradesstruct OTSeaNewOrder _newOrderstruct OTSeaFeeDetailsSignature _feeDetailsSignature
transferOwnership(address newOwner
unpauseContract(
updateLockUpOverride(address _tokenbool _enforce
updateOrderLockUp(uint72 _orderIDbool _enforce
updatePartner(address _tokenstruct OTSeaPartner _partner
updatePrice(uint72 _orderIDuint256 _expectedRemainingInputuint256 _newRemainingOutput
updateWhitelist(uint72 _orderIDstruct WhitelistHelperWhitelistUpdate[] _updates
Events
BlacklistUpdated(address indexed accountbool operation
BuyOrderCreated(uint72 indexed orderIDaddress indexed creatorstruct OTSeaNewOrder newOrderuint8 decimals
CancelledOrders(uint72[] orderIDs
EIP712DomainChanged(
FeesUpdated(uint8 fishFeeuint8 whaleFeeuint16 partnerFee
LockUpOverrideUpdated(address indexed accountaddress indexed tokenbool enforced
LockUpsClaimed(address indexed accountaddress indexed receiverstruct OTSeaClaimLockUp[] claims
LockupPeriodUpdated(uint16 time
MaroonedETH(address accountuint256 amount
MaroonedETHClaimed(address accountaddress receiveruint256 amount
MaxTradesUpdated(uint8 maxSwaps
OrderLockUpUpdated(uint72 indexed orderIDbool enforced
OrderPriceUpdated(uint72 indexed orderIDuint256 newTotalOutput
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PartnerFeePaid(address indexed tokenaddress indexed partneruint256 eth
PartnerUpdated(address indexed tokenstruct OTSeaPartner partner
Paused(address account
RevenueTransferred(uint256 eth
SellOrderCreated(uint72 indexed orderIDaddress indexed creatorstruct OTSeaNewOrder newOrderuint256 actualTotalInputuint256 actualTotalOutputuint8 feeTypeuint8 decimals
SignerUpdated(address signer
SwappedETHForTokens(address indexed accountaddress indexed tokenstruct OTSeaTrade[] tradesuint256 swappeduint256 receiveduint256 claimable
SwappedTokensForETH(address indexed accountaddress indexed tokenstruct OTSeaTrade[] tradesuint256 swappeduint256 receiveduint8 feeType
Traded(uint72 indexed orderIDaddress indexed accountuint256 swappeduint256 received
Unpaused(address account
WhitelistUpdated(uint72 indexed iduint256 totalWhitelist
Constructor
constructor(address _multiSigAdminaddress revenueDistributor_address _signer
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AddressNotFoundAtIndex(uint256 index
DuplicateAddressAtIndex(uint256 index
EnforcedPause(
ExpectationMismatch(
ExpectedPause(
ExpiredSignature(
FailedInnerCall(
InvalidAddress(
InvalidAddressAtIndex(uint256 index
InvalidAmount(
InvalidAmountAtIndex(uint256 index
InvalidArrayLength(
InvalidETH(uint256 expected
InvalidEnd(
InvalidFee(
InvalidIndex(uint256 index
InvalidPurchase(
InvalidSequence(
InvalidShortString(
InvalidSignature(
InvalidStart(
InvalidTradeOrderType(
LockUpNotAllowed(
NativeTransferFailed(
NotAvailable(
OrderBlacklisted(
OrderNotFound(uint72 orderID
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
SignatureRequired(
StringTooLong(string str
Unauthorized(
Unchanged(
UnlockDateNotReached(uint256 index