OTSea

Verified contract

Active on Ethereum with 1,292 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 $577.96
ERC-20
Value $85,785.86
ERC-20
Value $12,423.63
ERC-20
Value $1,936.53
ERC-20
Value $1,498.25
ERC-20
Value $396.84
ERC-20
Value $187.74
ERC-20
Value $27.07
ERC-20
Value $5.05
ERC-20
Value $0.14
0xc1aff9d818724a898504f6669c99f462f212ad3d1a13635af3c3e1326c88e631
0xa33deda3b94d751a56bf476f098487e30440495a5f562a1f9acfa2d85e4e19d4
0x9d2b29151435b86b9e253dbd0006e35c89b204a85d56ad2535588141bd231b98
0x0d4123f5225a2c405dc47b8a2a06a44bfdf1f0156f0b405517b8740c313ce573
0xe697f815275c3b55e4f18a25f18941b3112aa9e566f6a13745f4fe1491703291
0x0d82c27cbd1f2cbb4a7b4f0f50f98c030423df221e89d5d2fd7e527613c9b10c
0x2d61032101701d27f01b61129c688cda77a2778d62bc7ffd17acf4264b2c3e7f
0x497b26951cd423f8257e84bbca019b0c51887b405bb6bc48bda032fbff198098
0xfd72876a755bffac865f688db29f9785cf795737ae0cb59e67c51841ab7f4c74
0x5d75a714d340e37519d9ce6a5fda7893ec2af5d9951e89f853b999fbbdb6dda1

Functions
Getter at block 21291871
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)
477
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