跳到主要内容

JBRemoteToken

Git Source

A struct that represents a token on the remote chain.

Invarient: If the emergencyHatch is true then the enabled is always false.

Notes:

  • member: enabled Whether the token is enabled.

  • member: emergencyHatchOpened Whether the emergency hatch is opened.

  • member: minGas The minimum gas to use when bridging.

  • member: addr The address of the token on the remote chain.

  • member: minBridgeAmount The minimum amount to bridge.

struct JBRemoteToken {
bool enabled;
bool emergencyHatch;
uint32 minGas;
address addr;
uint256 minBridgeAmount;
}