PaymentHelper

Verified contract

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

No balances found for "PaymentHelper"

0x6a425eb07a6086f7e787e497a015bb33f9c336633c87dd8a57b623c307c969a9
0x417cbacefd014f8dcad436bd4d1f741a0b6016cf40cf41c62f5f5e5803ebcf53
0x7901ac7428671d4cf0a1eaeddee36727bc7ae2805218009340275358729c8bc7
0x1a99e8da60f61da179a9769f860cd79b9a067730b965b6ceb2ea3934a24c995d
0x58336464d1d53c46095bf0a8e556ce46dd35c0270fc1fc18129ac6b658ecdd78
0x5ee768a4392d0a16e1151cd3e6efad58271104507a38b1fe01852319c40d2ec1
0x1be8f01b61bb7c6dabb047c92c9a84b39c3ce857ac77f51ef39413a8003c3099
0xb4acce584d945adb0002593598ec35ecdf52f54d9a5a2c415f6583a0515a4bc3
0x2d748c7f51685203182cbfff1891c7a444960e03a9353205a27e8b77477e3e1c
0x2c84efcfd2c62ff8706907307ac1a2bf790e117231ea46f0335e64fb33507fe1

Functions
Getter at block 21202292
CHAIN_ID(view returns (uint64)
1
extraDataForTransmuter(view returns (bytes)
0x000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
getRegisterTransmuterAMBData(view returns (bytes)
0x000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000
superRegistry(view returns (address)
0x17a332dc7b40ae701485023b219e9d6f493a2514
Read-only
ackGasCost(uint64 chainIdview returns (uint256 gasForAck)
calculateAMBData(uint64 dstChainId_uint8[] ambIds_bytes message_view returns (uint256 totalFeesbytes extraData)
depositGasUsed(uint64 chainIdview returns (uint256 gasForDeposit)
emergencyCost(uint64 chainIdview returns (uint256 gasForEmergency)
estimateAMBFees(uint8[] ambIds_uint64 dstChainId_bytes message_bytes[] extraData_view returns (uint256 totalFeesuint256[])
estimateAckCost(uint256 payloadId_view returns (uint256 totalFees)
estimateAckCostDefault(bool multiuint8[] ackAmbIdsuint64 srcChainIdview returns (uint256 totalFees)
estimateAckCostDefaultNativeSource(bool multiuint8[] ackAmbIdsuint64 srcChainIdview returns (uint256)
estimateMultiDstMultiVault(struct MultiDstMultiVaultStateReq req_bool isDeposit_view returns (uint256 liqAmountuint256 srcAmountuint256 dstAmountuint256 totalAmount)
estimateMultiDstSingleVault(struct MultiDstSingleVaultStateReq req_bool isDeposit_view returns (uint256 liqAmountuint256 srcAmountuint256 dstAmountuint256 totalAmount)
estimateSingleDirectMultiVault(struct SingleDirectMultiVaultStateReq req_bool isDeposit_view returns (uint256 liqAmountuint256 dstOrSameChainAmtuint256 totalAmount)
estimateSingleDirectSingleVault(struct SingleDirectSingleVaultStateReq req_bool isDeposit_view returns (uint256 liqAmountuint256 dstOrSameChainAmtuint256 totalAmount)
estimateSingleXChainMultiVault(struct SingleXChainMultiVaultStateReq req_bool isDeposit_view returns (uint256 liqAmountuint256 srcAmountuint256 dstAmountuint256 totalAmount)
estimateSingleXChainSingleVault(struct SingleXChainSingleVaultStateReq req_bool isDeposit_view returns (uint256 liqAmountuint256 srcAmountuint256 dstAmountuint256 totalAmount)
gasPerByte(uint64 chainIdview returns (uint256 gasPerByte)
gasPrice(uint64 chainIdview returns (uint256 defaultGasPrice)
gasPriceOracle(uint64 chainIdview returns (address)
nativeFeedOracle(uint64 chainIdview returns (address)
nativePrice(uint64 chainIdview returns (uint256 defaultNativePrice)
swapGasUsed(uint64 chainIdview returns (uint256 gasForSwap)
timelockCost(uint64 chainIdview returns (uint256 gasForTimelock)
updateDepositGasUsed(uint64 chainIdview returns (uint256 gasForUpdateDeposit)
updateWithdrawGasUsed(uint64 chainIdview returns (uint256 gasForUpdateWithdraw)
withdrawGasUsed(uint64 chainIdview returns (uint256 gasForWithdraw)
State-modifying
addRemoteChain(uint64 chainId_struct IPaymentHelperV2PaymentHelperConfig config_
addRemoteChains(uint64[] chainIds_struct IPaymentHelperV2PaymentHelperConfig[] configs_
batchUpdateRemoteChain(uint64 chainId_uint256[] configTypes_bytes[] configs_
batchUpdateRemoteChains(uint64[] chainIds_uint256[][] configTypes_bytes[][] configs_
updateRegisterAERC20Params(bytes extraDataForTransmuter_
updateRemoteChain(uint64 chainId_uint256 configType_bytes config_
Events
ChainConfigAdded(uint64 chainId_struct IPaymentHelperV2PaymentHelperConfig config_
ChainConfigUpdated(uint64 indexed chainId_uint256 indexed configType_bytes config_
Constructor
constructor(address superRegistry_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ARRAY_LENGTH_MISMATCH(
BLOCK_CHAIN_ID_OUT_OF_BOUNDS(
CHAINLINK_INCOMPLETE_ROUND(
CHAINLINK_MALFUNCTION(
CHAINLINK_UNSUPPORTED_DECIMAL(
INVALID_CHAIN_ID(
INVALID_NATIVE_TOKEN_PRICE(
INVALID_PAYLOAD_ID(
NOT_PAYMENT_ADMIN(
NOT_PROTOCOL_ADMIN(
ZERO_ADDRESS(
ZERO_INPUT_VALUE(