Skip to main content

Gateway Onboarding Plain Batch

Onboard a batch of gateway by signing onboard messages.

Functions

onboardFeeInEUR

function onboardFeeInEUR() external view returns (uint256)

Gateway onboard fee in EUR (18 decimals)

Return Values

NameTypeDescription
[0]uint256gateway onboard fee in EUR (18 decimals)

onboardFeeInTHIX

function onboardFeeInTHIX() external view returns (uint256)

Gateway onboard fee in THIX (18 decimals)

Return Values

NameTypeDescription
[0]uint256gateway onboard fee in THIX (18 decimals)

onboard

function onboard(uint8[] versions, bytes32[] gatewayIds, address[] gateways, bytes[] gatewaySignatures, uint256 maxFee) external

Onboard a gateway by verifying a gateway signature that includes the gateway owner and trusting the chains native transaction signing process to verify the owners signatures.

on success, for each gateway the GatewayRegistry will raise the GatewayOnboarded event and the Thix token will raise the Transfer event with the to address set to the zero address (burn onboard fee).

Parameters

NameTypeDescription
versionsuint8[]gateway onboard versions
gatewayIdsbytes32[]gateway unique identifiers
gatewaysaddress[]gateway EVM addresses
gatewaySignaturesbytes[]gateway signature over the onboard messages
maxFeeuint256max fee in THIX (18 decimals) owner is willing to pay as onboard fee.