MarsBaseOtc
Verified contract
Active on
Ethereum with 718 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x1040…278d
Balances ($0.00)
No balances found for "MarsBaseOtc"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13805579 | 3 years ago | | | 0 | 0.011682475 | |
| 13802685 | 3 years ago | | | 0 | 0.0049160580 | |
| 13802450 | 3 years ago | | | 0 | 0.0071817480 | |
| 13802442 | 3 years ago | | | 0 | 0.0080268600 | |
| 13802392 | 3 years ago | | | 0 | 0.0089019790 | |
| 13802385 | 3 years ago | | | 0.00052941566 | 0.0069982800 | |
| 13802384 | 3 years ago | | | 0 | 0.0087357490 | |
| 13802348 | 3 years ago | | | 0 | 0.0094197420 | |
| 13802332 | 3 years ago | | | 0.00052941566 | 0.0066483660 | |
| 13802330 | 3 years ago | | | 0 | 0.0087357490 |
ABI
ABI objects
Getter at block 21285511
BROKERS_DENOMINATOR() view returns (uint256)
10000
contractTimestamp() view returns (uint256)
1732788587
owner() view returns (address)
0xf4cd9e725e3f88ca6438b300b6ce29bf851514af
vault() view returns (address)
0x1040444f74c225a4a30e2717ee5a62742118278d
Read-only
createKey(address _owner) view returns (bytes32 result)
getInvestors(bytes32 id) view returns (address[] investors)
getOrderOwnerInvestments(bytes32 id) view returns (address[] tokens, uint256[] amount)
getOrderUserInvestments(bytes32 id, address user) view returns (address[] tokens, uint256[] amount)
isAddressInWhiteList(address) view returns (bool)
orders(bytes32) view returns (address owner, address token, uint256 amountOfToken, uint256 expirationDate, uint16 discount, bool isCancelled, bool isSwapped, bool isManual, uint8 orderType)
ordersBid(bytes32, uint256) view returns (address investor, address investedToken, uint256 amountInvested)
ordersBidLen(bytes32 id) view returns (uint256)
ordersOwnerBid(bytes32, uint256) view returns (address investor, address investedToken, uint256 amountInvested)
ordersOwnerBidLen(bytes32 id) view returns (uint256)
ownerBroker(bytes32) view returns (address broker, uint256 percents)
usersBroker(bytes32) view returns (address broker, uint256 percents)
State-modifying
Events addWhiteList(address newToken)
cancel(bytes32 _id)
cancelBid(bytes32 _id, uint256 bidIndex)
changeBid(bytes32 _id, uint256 bidIndex, uint256 newValue)
createOrder(bytes32 _id, address _token, uint256 _amountOfToken, uint256 _expirationDate, address _ownerBroker, uint256 _ownerBrokerPerc, address _usersBroker, uint256 _usersBrokerPerc, uint16 _discount, uint8 typeOrder, bool _isManual)
deleteFromWhiteList(address tokenToDelete)
makeSwap(bytes32 _id, struct IMarsBaseOtcOrdersBidInfo[] distribution)
makeSwapOrderOwner(bytes32 _id, uint256 orderIndex)
orderDeposit(bytes32 _id, address _token, uint256 _amount) payable
renounceOwnership()
setAmountOfToken(bytes32 _id, uint256 newAmountOfToken)
setDiscount(bytes32 _id, uint16 newDiscount)
setVault(address _vault)
tokenFallback(address, uint256, bytes)
transferOwnership(address newOwner)
BuyOrderDeposit(bytes32 _id, address _token, address _from, uint256 _amount)
OrderCancelled(bytes32 id)
OrderCreated(bytes32 id, address owner, address token, uint256 amountOfToken, uint256 expiratinDate, uint16 discount, uint8 typeOrder, bool isManual)
OrderSwapped(bytes32 id)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SellOrderDeposit(bytes32 _id, address _token, address _from, uint256 _amount)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.