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
0x1c23…3bc6
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
MEGASHIB | ERC-20 | 0.583716 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14134545 | 3 years ago | | | 0 | 0.0027632852 | |
| 13808919 | 3 years ago | | | 0 | 0.011072668 | |
| 13808917 | 3 years ago | | | 0.002 | 0.0036649789 | |
| 13803525 | 3 years ago | | | 0 | 0.0029811471 | |
| 13801858 | 3 years ago | | | 0.002 | 0.023294507 | |
| 13612689 | 3 years ago | | | 0.002 | 0.0038734296 | |
| 13606563 | 3 years ago | | | 0.002 | 0.033033013 | |
| 13606538 | 3 years ago | | | 0 | 0.0032879159 | |
| 13606535 | 3 years ago | | | 0.002 | 0.029669148 | |
| 13606519 | 3 years ago | | | 0 | 0.0042781440 |
ABI
ABI objects
Getter at block 20864630
getSwapTokenAddress() view returns (address)
0x1c23f0f3e06fa0e07c5e661353612a2d63323bc6
isActive() view returns (bool)
false
maxSwapAmount() view returns (uint256)
1000000000000000
minimumGasForOperation() view returns (uint256)
2000000000000000
mtgyServiceCost() view returns (uint256)
1000000000000000000
oracleAddress() view returns (address)
0x1f1851f37b0d2428169d79d12eb2616037ad4f56
originalSupply() view returns (uint256)
1000000000000000
owner() view returns (address)
0x1f1851f37b0d2428169d79d12eb2616037ad4f56
tokenOwner() view returns (address)
0x7bc878246d3802e6df5b4cbd84264b9bf3d37686
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.