Skip to main content
Glama

Server Details

Stargate - 42 tools for cross-chain transfers and bridge data

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
junct-bot/stargate-mcp
GitHub Stars
0

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

42 tools
activateChainPathInspect

Calls activateChainPath(_poolId: string, _dstChainId: string, _dstPoolId: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
addLiquidityInspect

Calls addLiquidity(_poolId: string, _amountLD: string, _to: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesaddress (Ethereum address, 0x-prefixed).
_poolIdYesuint256 (uint256, pass as decimal string).
_amountLDYesuint256 (uint256, pass as decimal string).
bridgeInspect

Calls bridge(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

cachedSwapLookupInspect

[DISCOVERY] Calls cachedSwapLookup(param0: string, param1: string, param2: string). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns { token: string, amountLD: string, to: string, payload: string }.

ParametersJSON Schema
NameRequiredDescriptionDefault
param0Yesuint16 (uint16, pass as decimal string).
param1Yesbytes (hex-encoded bytes, 0x-prefixed).
param2Yesuint256 (uint256, pass as decimal string).
CachedSwapSavedInspect

Event emitted by the contract. Subscribe via log filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesaddress (Ethereum address, 0x-prefixed).
nonceYesuint256 (uint256, pass as decimal string).
tokenYesaddress (Ethereum address, 0x-prefixed).
reasonYesbytes (hex-encoded bytes, 0x-prefixed).
chainIdYesuint16 (uint16, pass as decimal string).
payloadYesbytes (hex-encoded bytes, 0x-prefixed).
amountLDYesuint256 (uint256, pass as decimal string).
srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
callDeltaInspect

Calls callDelta(_poolId: string, _fullMode: boolean). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_fullModeYesbool.
clearCachedSwapInspect

Calls clearCachedSwap(_srcChainId: string, _srcAddress: string, _nonce: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_nonceYesuint256 (uint256, pass as decimal string).
_srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
_srcChainIdYesuint16 (uint16, pass as decimal string).
createChainPathInspect

Calls createChainPath(_poolId: string, _dstChainId: string, _dstPoolId: string, _weight: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_weightYesuint256 (uint256, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
createPoolInspect

Calls createPool(_poolId: string, _token: string, _sharedDecimals: string, _localDecimals: string, _name: string, _symbol: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault
_nameYesstring.
_tokenYesaddress (Ethereum address, 0x-prefixed).
_poolIdYesuint256 (uint256, pass as decimal string).
_symbolYesstring.
_localDecimalsYesuint8 (uint8, pass as decimal string).
_sharedDecimalsYesuint8 (uint8, pass as decimal string).
creditChainPathInspect

Calls creditChainPath(_dstChainId: string, _dstPoolId: string, _srcPoolId: string, _c: { credits: string, idealBalance: string }). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_cYestuple. Fields: credits, idealBalance.
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
factoryInspect

Calls factory(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

instantRedeemLocalInspect

Calls instantRedeemLocal(_srcPoolId: string, _amountLP: string, _to: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountSD (uint256).

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesaddress (Ethereum address, 0x-prefixed).
_amountLPYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint16 (uint16, pass as decimal string).
mintFeeOwnerInspect

Calls mintFeeOwner(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

ownerInspect

Calls owner(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

OwnershipTransferredInspect

Event emitted by the contract. Indexed fields (filterable): previousOwner, newOwner. Subscribe via log filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
newOwnerYesaddress (Ethereum address, 0x-prefixed) (indexed).
previousOwnerYesaddress (Ethereum address, 0x-prefixed) (indexed).
protocolFeeOwnerInspect

Calls protocolFeeOwner(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

quoteLayerZeroFeeInspect

Calls quoteLayerZeroFee(_dstChainId: string, _functionType: string, _toAddress: string, _transferAndCallPayload: string, _lzTxParams: { dstGasForCall: string, dstNativeAmount: string, dstNativeAddr: string }). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns { _0: string, _1: string }.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toAddressYesbytes (hex-encoded bytes, 0x-prefixed).
_dstChainIdYesuint16 (uint16, pass as decimal string).
_lzTxParamsYestuple. Fields: dstGasForCall, dstNativeAmount, dstNativeAddr.
_functionTypeYesuint8 (uint8, pass as decimal string).
_transferAndCallPayloadYesbytes (hex-encoded bytes, 0x-prefixed).
redeemLocalInspect

Calls redeemLocal(_dstChainId: string, _srcPoolId: string, _dstPoolId: string, _refundAddress: string, _amountLP: string, _to: string, _lzTxParams: { dstGasForCall: string, dstNativeAmount: string, dstNativeAddr: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesbytes (hex-encoded bytes, 0x-prefixed).
_amountLPYesuint256 (uint256, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
_lzTxParamsYestuple. Fields: dstGasForCall, dstNativeAmount, dstNativeAddr.
_refundAddressYesaddress (Ethereum address, 0x-prefixed).
redeemLocalCallbackInspect

Calls redeemLocalCallback(_srcChainId: string, _srcAddress: string, _nonce: string, _srcPoolId: string, _dstPoolId: string, _to: string, _amountSD: string, _mintAmountSD: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesaddress (Ethereum address, 0x-prefixed).
_nonceYesuint256 (uint256, pass as decimal string).
_amountSDYesuint256 (uint256, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
_srcChainIdYesuint16 (uint16, pass as decimal string).
_mintAmountSDYesuint256 (uint256, pass as decimal string).
RedeemLocalCallbackInspect

Event emitted by the contract. Indexed fields (filterable): srcAddress, nonce. Subscribe via log filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesaddress (Ethereum address, 0x-prefixed).
nonceYesuint256 (uint256, pass as decimal string) (indexed).
amountSDYesuint256 (uint256, pass as decimal string).
dstPoolIdYesuint256 (uint256, pass as decimal string).
srcPoolIdYesuint256 (uint256, pass as decimal string).
srcAddressYesbytes (hex-encoded bytes, 0x-prefixed) (indexed).
srcChainIdYesuint16 (uint16, pass as decimal string).
mintAmountSDYesuint256 (uint256, pass as decimal string).
redeemLocalCheckOnRemoteInspect

Calls redeemLocalCheckOnRemote(_srcChainId: string, _srcAddress: string, _nonce: string, _srcPoolId: string, _dstPoolId: string, _amountSD: string, _to: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesbytes (hex-encoded bytes, 0x-prefixed).
_nonceYesuint256 (uint256, pass as decimal string).
_amountSDYesuint256 (uint256, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
_srcChainIdYesuint16 (uint16, pass as decimal string).
redeemRemoteInspect

Calls redeemRemote(_dstChainId: string, _srcPoolId: string, _dstPoolId: string, _refundAddress: string, _amountLP: string, _minAmountLD: string, _to: string, _lzTxParams: { dstGasForCall: string, dstNativeAmount: string, dstNativeAddr: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesbytes (hex-encoded bytes, 0x-prefixed).
_amountLPYesuint256 (uint256, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
_lzTxParamsYestuple. Fields: dstGasForCall, dstNativeAmount, dstNativeAddr.
_minAmountLDYesuint256 (uint256, pass as decimal string).
_refundAddressYesaddress (Ethereum address, 0x-prefixed).
renounceOwnershipInspect

Calls renounceOwnership(). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. DANGER: Permanently and irreversibly removes all owner control from the contract. After calling, no address will ever be able to call onlyOwner functions again including adapter management, oracle configuration, emergency controls, and all set* functions. This action cannot be undone. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

retryRevertInspect

Calls retryRevert(_srcChainId: string, _srcAddress: string, _nonce: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_nonceYesuint256 (uint256, pass as decimal string).
_srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
_srcChainIdYesuint16 (uint16, pass as decimal string).
RevertInspect

Event emitted by the contract. Subscribe via log filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
nonceYesuint256 (uint256, pass as decimal string).
chainIdYesuint16 (uint16, pass as decimal string).
srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
bridgeFunctionTypeYesuint8 (uint8, pass as decimal string).
revertLookupInspect

[DISCOVERY] Calls revertLookup(param0: string, param1: string, param2: string). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns bytes.

ParametersJSON Schema
NameRequiredDescriptionDefault
param0Yesuint16 (uint16, pass as decimal string).
param1Yesbytes (hex-encoded bytes, 0x-prefixed).
param2Yesuint256 (uint256, pass as decimal string).
revertRedeemLocalInspect

Calls revertRedeemLocal(_dstChainId: string, _srcAddress: string, _nonce: string, _refundAddress: string, _lzTxParams: { dstGasForCall: string, dstNativeAmount: string, dstNativeAddr: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_nonceYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
_lzTxParamsYestuple. Fields: dstGasForCall, dstNativeAmount, dstNativeAddr.
_srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
_refundAddressYesaddress (Ethereum address, 0x-prefixed).
RevertRedeemLocalInspect

Event emitted by the contract. Indexed fields (filterable): nonce, srcAddress. Subscribe via log filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesbytes (hex-encoded bytes, 0x-prefixed).
nonceYesuint256 (uint256, pass as decimal string) (indexed).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
srcAddressYesbytes (hex-encoded bytes, 0x-prefixed) (indexed).
srcChainIdYesuint16 (uint16, pass as decimal string).
mintAmountSDYesuint256 (uint256, pass as decimal string).
redeemAmountSDYesuint256 (uint256, pass as decimal string).
sendCreditsInspect

Calls sendCredits(_dstChainId: string, _srcPoolId: string, _dstPoolId: string, _refundAddress: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
_refundAddressYesaddress (Ethereum address, 0x-prefixed).
setBridgeAndFactoryInspect

Calls setBridgeAndFactory(_bridge: string, _factory: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_bridgeYesaddress (Ethereum address, 0x-prefixed).
_factoryYesaddress (Ethereum address, 0x-prefixed).
setDeltaParamInspect

Calls setDeltaParam(_poolId: string, _batched: boolean, _swapDeltaBP: string, _lpDeltaBP: string, _defaultSwapMode: boolean, _defaultLPMode: boolean). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_batchedYesbool.
_lpDeltaBPYesuint256 (uint256, pass as decimal string).
_swapDeltaBPYesuint256 (uint256, pass as decimal string).
_defaultLPModeYesbool.
_defaultSwapModeYesbool.
setFeeLibraryInspect

Calls setFeeLibrary(_poolId: string, _feeLibraryAddr: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_feeLibraryAddrYesaddress (Ethereum address, 0x-prefixed).
setFeesInspect

Calls setFees(_poolId: string, _mintFeeBP: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_mintFeeBPYesuint256 (uint256, pass as decimal string).
setMintFeeOwnerInspect

Calls setMintFeeOwner(_owner: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_ownerYesaddress (Ethereum address, 0x-prefixed).
setProtocolFeeOwnerInspect

Calls setProtocolFeeOwner(_owner: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_ownerYesaddress (Ethereum address, 0x-prefixed).
setSwapStopInspect

Calls setSwapStop(_poolId: string, _swapStop: boolean). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_swapStopYesbool.
setWeightForChainPathInspect

Calls setWeightForChainPath(_poolId: string, _dstChainId: string, _dstPoolId: string, _weight: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_poolIdYesuint256 (uint256, pass as decimal string).
_weightYesuint16 (uint16, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
swapInspect

Calls swap(_dstChainId: string, _srcPoolId: string, _dstPoolId: string, _refundAddress: string, _amountLD: string, _minAmountLD: string, _lzTxParams: { dstGasForCall: string, dstNativeAmount: string, dstNativeAddr: string }, _to: string, _payload: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesbytes (hex-encoded bytes, 0x-prefixed).
_payloadYesbytes (hex-encoded bytes, 0x-prefixed).
_amountLDYesuint256 (uint256, pass as decimal string).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_dstChainIdYesuint16 (uint16, pass as decimal string).
_lzTxParamsYestuple. Fields: dstGasForCall, dstNativeAmount, dstNativeAddr.
_minAmountLDYesuint256 (uint256, pass as decimal string).
_refundAddressYesaddress (Ethereum address, 0x-prefixed).
swapRemoteInspect

Calls swapRemote(_srcChainId: string, _srcAddress: string, _nonce: string, _srcPoolId: string, _dstPoolId: string, _dstGasForCall: string, _to: string, _s: { amount: string, eqFee: string, eqReward: string, lpFee: string, protocolFee: string, lkbRemove: string }, _payload: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_sYestuple. Fields: amount, eqFee, eqReward, lpFee, protocolFee, lkbRemove.
_toYesaddress (Ethereum address, 0x-prefixed).
_nonceYesuint256 (uint256, pass as decimal string).
_payloadYesbytes (hex-encoded bytes, 0x-prefixed).
_dstPoolIdYesuint256 (uint256, pass as decimal string).
_srcPoolIdYesuint256 (uint256, pass as decimal string).
_srcAddressYesbytes (hex-encoded bytes, 0x-prefixed).
_srcChainIdYesuint16 (uint16, pass as decimal string).
_dstGasForCallYesuint256 (uint256, pass as decimal string).
transferOwnershipInspect

Calls transferOwnership(newOwner: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Transfers ownership to a new address. The new owner must call acceptOwnership() to complete the transfer (two-step pattern). No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
newOwnerYesaddress (Ethereum address, 0x-prefixed).
withdrawMintFeeInspect

Calls withdrawMintFee(_poolId: string, _to: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesaddress (Ethereum address, 0x-prefixed).
_poolIdYesuint256 (uint256, pass as decimal string).
withdrawProtocolFeeInspect

Calls withdrawProtocolFee(_poolId: string, _to: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_toYesaddress (Ethereum address, 0x-prefixed).
_poolIdYesuint256 (uint256, pass as decimal string).

Verify Ownership

This connector has been claimed. The /.well-known/glama.json file has been verified and ownership is confirmed.

Glama periodically re-verifies ownership. If the file is removed, the claim will be revoked.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.