MTGYAtomicSwapInstance
Verified contract
Active on
Ethereum with 38 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x025c…ca23
0x8a31…73a5
0x4904…0157
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MARVIN | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14240460 | 3 years ago | | | 0 | 0.0041851413 | |
| 14240425 | 3 years ago | | | 0 | 0.0047951318 | |
| 14240406 | 3 years ago | | | 0 | 0.0034935128 | |
| 13643847 | 3 years ago | | | 0 | 0.0028759664 | |
| 13643839 | 3 years ago | | | 0 | 0.011681689 | |
| 13643612 | 3 years ago | | | 0.002 | 0.024628370 | |
| 13643330 | 3 years ago | | | 0 | 0.011667702 | |
| 13643328 | 3 years ago | | | 0 | 0.012640181 | |
| 13643321 | 3 years ago | | | 0.002 | 0.013617940 | |
| 13640045 | 3 years ago | | | 0.002 | 0.029255870 |
ABI
ABI objects
Getter at block 21214716
getSwapTokenAddress() view returns (address)
0x49047c687d3e0f03dd03b546e78f0499abde0157
isActive() view returns (bool)
true
maxSwapAmount() view returns (uint256)
0
minimumGasForOperation() view returns (uint256)
2000000000000000
mtgyServiceCost() view returns (uint256)
1000000000000000000
oracleAddress() view returns (address)
0x1f1851f37b0d2428169d79d12eb2616037ad4f56
originalSupply() view returns (uint256)
250000000000000
owner() view returns (address)
0x1f1851f37b0d2428169d79d12eb2616037ad4f56
tokenOwner() view returns (address)
0xaf56a593c98b8fa2dcbb6c43fe5874adb13ae0e2
Read-only
lastUserSwap(address) view returns (bytes32 id, uint256 origTimestamp, uint256 currentTimestamp, bool isOutbound, bool isComplete, bool isRefunded, bool isSendGasFunded, address swapAddress, uint256 amount)
swaps(bytes32) view returns (bytes32 id, uint256 origTimestamp, uint256 currentTimestamp, bool isOutbound, bool isComplete, bool isRefunded, bool isSendGasFunded, address swapAddress, uint256 amount)
State-modifying
Events changeActiveState(bool _isActive)
changeMtgyServiceCost(uint256 _newCost)
changeOracleAddress(address _oracleAddress)
depositTokens(uint256 _amount)
fundSendToDestinationGas(bytes32 _id, uint256 _origTimestamp, uint256 _amount) payable
receiveTokensFromSource(uint256 _amount) payable returns (bytes32, uint256)
refundTokensFromSource(bytes32 _id)
renounceOwnership()
sendTokensToDestination(bytes32 _id) returns (bytes32)
transferOwnership(address newOwner)
unsetLastUserSwap(address _addy)
updateMinimumGasForOperation(uint256 _amountGas)
updateSupply()
updateSwapCompletionStatus(bytes32 _id, bool _isComplete)
updateTokenOwner(address newOwner)
withdrawTokens(uint256 _amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ReceiveTokensFromSource(bytes32 indexed id, uint256 origTimestamp, address sender, uint256 amount)
RefundTokensToSource(bytes32 indexed id, address sender, uint256 amount)
SendTokensToDestination(bytes32 indexed id, address receiver, uint256 amount)
TokenOwnerUpdated(address previousOwner, address newOwner)
constructor(address _mtgyAddress, address _mtgySpendAddress, address _oracleAddress, address _tokenOwner, address _tokenAddy, uint256 _maxSwapAmount)
This contract contains no fallback and receive objects.
This contract contains no error objects.