SwapContract

Verified contract

Active on Ethereum with 6,704 txns
Deployed by via 0xbe298e1e at 13120163
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "SwapContract"

0x180cc88edf0f96edb97c1f28137c81596f3c2642776e7e8e870b1f0cc8f799ac
0xf50547f8b015769e1c37ffbe3542d43281d51a8d57486c3cef22592b58d16b1b
0xa93109d6ab029807abb80e25033160b89bb16348d6b7cf07ec7abd41724be051
0x297e26084601de7f9c6c4600291c60854286276747ed39d2ca208f3215ef9f3d
0xda85b51c63707366f1f567cc3ad993ebbf8fc20f17ca9f68a77281a994537827
0xabf507211f617d83a5a73702c14070d18abaa9d374d6bed4470e56a264cd341f
0x820a9e66cda1fd001fd06013db099ac49fb113b4bb44c958fe666b9d3fa5d095
0x3b07243a48188eeac0d273d0344e03e2815897f428543a7414a978a58dc6874b
0x40a4cc8356ccc116cd73f11b87f6d9e05472561a20e2902dbde167f3d1d5b335
0x786a6ec66fd0d6ee29118e9e737e9642fa085236132abe23fb308f50f6c1a783

Functions
Getter at block 21258638
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
OWNER_ROLE(view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
RELAYER_ROLE(view returns (bytes32)
0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4
SIGNATURE_LENGTH(view returns (uint256)
65
VALIDATOR_ROLE(view returns (bytes32)
0x21702c8af46127c7fa207f89d0b0a8441bb32959a0ac7df790e9ab1a25c98926
blockchainPool(view returns (address)
0xfb6897d124cc8e318a20a4db1b5b0b637993bbab
blockchainRouter(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
maxGasPrice(view returns (uint256)
200000000000
maxTokenAmount(view returns (uint256)
50000000000
minConfirmationBlocks(view returns (uint256)
3
minConfirmationSignatures(view returns (uint256)
2
minTokenAmount(view returns (uint256)
100000000
numOfThisBlockchain(view returns (uint128)
2
paused(view returns (bool)
true
refundSlippage(view returns (uint256)
100000
Read-only
RubicAddresses(uint256view returns (address)
blockchainCryptoFee(uint256view returns (uint256)
ecOffsetRecover(bytes32 hashbytes signatureuint256 offsetpure returns (address)
existingOtherBlockchain(uint256view returns (bool)
feeAmountOfBlockchain(uint256view returns (uint256)
getHashPacked(address useruint256 amountWithFeebytes32 originalTxHashpure returns (bytes32)
getOtherBlockchainAvailableByNum(uint256 blockchainview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isManager(address accountview returns (bool)
isOwner(address accountview returns (bool)
isRelayer(address accountview returns (bool)
isValidator(address accountview returns (bool)
processedTransactions(bytes32view returns (uint256 statusCodebytes32 hashedParams)
supportsInterface(bytes4 interfaceIdview returns (bool)
toEthSignedMessageHash(bytes32 hashpure returns (bytes32)
State-modifying
addOtherBlockchain(uint128 numOfOtherBlockchain
changeOtherBlockchain(uint128 oldNumOfOtherBlockchainuint128 newNumOfOtherBlockchain
changeTxStatus(bytes32 originalTxHashuint256 statusCodebytes32 hashedParams
collectCryptoFee(
collectTokenFee(
continueExecution(
grantRole(bytes32 roleaddress account
pauseExecution(
refundCryptoToUser(struct SwapContractswapFromParams params
refundTokensToUser(struct SwapContractswapFromParams params
removeOtherBlockchain(uint128 numOfOtherBlockchain
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setCryptoFeeOfBlockchain(uint128 _blockchainNumuint256 feeAmount
setFeeAmountOfBlockchain(uint128 _blockchainNumuint256 feeAmount
setMaxGasPrice(uint256 _maxGasPrice
setMaxTokenAmount(uint256 _maxTokenAmount
setMinConfirmationBlocks(uint256 _minConfirmationBlocks
setMinConfirmationSignatures(uint256 _minConfirmationSignatures
setMinTokenAmount(uint256 _minTokenAmount
setPoolAddress(address _poolAddress
setRefundSlippage(uint256 _refundSlippage
setRouter(address _router
setRubicAddressOfBlockchain(uint128 _blockchainNumaddress _RubicAddress
swapCryptoToOtherBlockchain(struct SwapContractswapToParams paramspayable 
swapCryptoToUserWithFee(struct SwapContractswapFromParams params
swapTokensToOtherBlockchain(struct SwapContractswapToParams paramspayable 
swapTokensToUserWithFee(struct SwapContractswapFromParams params
transferOwnerAndSetManager(address newOwneraddress newManager
Events
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TransferCryptoToOtherBlockchainUser(uint256 blockchainaddress senderuint256 RBCAmountInuint256 amountSpentstring newAddressuint256 cryptoOutMinaddress[] path
TransferFromOtherBlockchain(address useruint256 amountuint256 amountWithoutFeebytes32 originalTxHash
TransferTokensToOtherBlockchainUser(uint256 blockchainaddress senderuint256 RBCAmountInuint256 amountSpentstring newAddressuint256 tokenOutMinaddress[] path
Unpaused(address account
userRefunded(address useruint256 amountuint256 amountWithoutFeebytes32 originalTxHash
Constructor
constructor(uint128 _numOfThisBlockchainuint128[] _numsOfOtherBlockchainsuint256[] tokenLimitsuint256 _maxGasPriceuint256 _minConfirmationBlocksuint256 _refundSlippageaddress _blockchainRouteraddress[] _RubicAddresses
Fallback and receive
receive(
Errors

This contract contains no error objects.