2024-06-06 20:08:25 +00:00
|
|
|
package pathprocessor
|
|
|
|
|
|
|
|
const (
|
|
|
|
IncreaseEstimatedGasFactor = 1.1
|
2024-06-14 11:27:53 +00:00
|
|
|
SevenDaysInSeconds = 60 * 60 * 24 * 7
|
2024-06-06 20:08:25 +00:00
|
|
|
|
2024-06-14 11:27:53 +00:00
|
|
|
EthSymbol = "ETH"
|
|
|
|
SntSymbol = "SNT"
|
|
|
|
SttSymbol = "STT"
|
|
|
|
UsdcSymbol = "USDC"
|
|
|
|
HopSymbol = "HOP"
|
2024-06-06 20:08:25 +00:00
|
|
|
|
|
|
|
ProcessorTransferName = "Transfer"
|
|
|
|
ProcessorBridgeHopName = "Hop"
|
|
|
|
ProcessorBridgeCelerName = "CBridge"
|
|
|
|
ProcessorSwapParaswapName = "Paraswap"
|
|
|
|
ProcessorERC721Name = "ERC721Transfer"
|
|
|
|
ProcessorERC1155Name = "ERC1155Transfer"
|
|
|
|
ProcessorENSRegisterName = "ENSRegister"
|
|
|
|
ProcessorENSReleaseName = "ENSRelease"
|
|
|
|
ProcessorENSPublicKeyName = "ENSPublicKey"
|
2024-06-11 08:00:17 +00:00
|
|
|
ProcessorStickersBuyName = "StickersBuy"
|
2024-06-06 20:08:25 +00:00
|
|
|
)
|
2024-08-29 15:34:53 +00:00
|
|
|
|
|
|
|
func IsProcessorBridge(name string) bool {
|
|
|
|
return name == ProcessorBridgeHopName || name == ProcessorBridgeCelerName
|
|
|
|
}
|
|
|
|
|
|
|
|
func IsProcessorSwap(name string) bool {
|
|
|
|
return name == ProcessorSwapParaswapName
|
|
|
|
}
|