HTLC

Verified contract

Active on Ethereum with 614 txns
Deployed by via 0x3d3ae56e at 19675266
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $869.69
ERC-20
Value $763.31
0xf50a030555ae1b1d56cf6c774684b1f92b895ab4105dda815c487d272623abd6
0xa8ca905e6fe337b8ccbcf9d8658a668eb679de60312f0d11dc4dfc480e87336b
0x0bdca2b6a9de6fc0c5e2edcd7d42aaaeb769b010046ad21e3d4b0e5bb92dd14a
0xd53a4c2d04460550b5a28054f0b5b45f4d1551c96f11a630ccbbd94a4f04117d
0xb1a413478f7ed84196794a8b97b8772a184fb82583e5b718d422580d21204992
0xcfa70c50d5f13711787c5ae0b7a497208d96b141c8b8ee2a49d37bf63a4a6ccb
0x5c29e34d3a88e48f4cb4140dba9d19d22a7078629232bccf222d50d968c1196d
0x852042163adde0c6c7e9d28c8548ee995df992703e94df1e3f225475d7bac9e1
0xead975015c38f74bf607cc145cdf5f3558aa6a89343faf35e9dac5bd2d530f4a
0xe536265d9d185ebdf5a27771a5e5865df7c9973ddc285539c21238eb03a3f79a

Functions
Getter at block 20905009

This contract contains no getter function objects.

Read-only
canCollect(bytes32 _contractIdview returns (bool collectible)
getContract(bytes32 _contractIdview returns (address senderbytes32 senderminimaaddress receiveraddress tokenContractuint256 amountuint256 requestamountbytes32 hashlockuint256 timelockbool withdrawnbool refundedbytes32 preimagebool otc)
State-modifying
newContract(bytes32 _senderminimaaddress _receiverbytes32 _hashlockuint256 _timelockaddress _tokenContractuint256 _amountuint256 _requestamountbool _otcreturns (bytes32 contractId)
refund(bytes32 _contractIdreturns (bool)
withdraw(bytes32 _contractIdbytes32 _preimagereturns (bool)
Events
HTLCERC20New(bytes32 indexed contractIdaddress indexed senderaddress indexed receiverbytes32 senderminimaaddress tokenContractuint256 amountuint256 requestamountbytes32 hashlockuint256 timelockbool otcdeal
HTLCERC20Refund(bytes32 indexed contractId
HTLCERC20Withdraw(bytes32 indexed contractIdbytes32 indexed preimagebytes32 indexed secret
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
SafeERC20FailedOperation(address token